Merge branch 'hotfix/match' into develop

# Conflicts:
#	pom.xml
This commit is contained in:
upagge 2020-05-01 17:32:46 +03:00
commit b502f4cddc
No known key found for this signature in database
GPG Key ID: 15CD012E46F6BA34

View File

@ -48,7 +48,7 @@ public abstract class Unit<U extends Unit> {
this.phrase = phrase; this.phrase = phrase;
this.pattern = pattern; this.pattern = pattern;
this.matchThreshold = matchThreshold == null ? 10 : matchThreshold; this.matchThreshold = matchThreshold == null ? 10 : matchThreshold;
this.priority = priority == null ? 10 : matchThreshold; this.priority = priority == null ? 10 : priority;
this.nextUnits = nextUnits; this.nextUnits = nextUnits;
} }