fix replace getNonConditionalTag

This commit is contained in:
Dima-1 2021-03-25 09:52:18 +02:00
parent 513cce6304
commit 4d78fc77de

View file

@ -583,8 +583,8 @@ public class RouteDataObject {
String nonCondTag = rtr.getTag();
int ks;
for (ks = 0; ks < pointTypes[i].length; ks++) {
RouteTypeRule toReplace = region.quickGetEncodingRule(pointTypes[i][j]);
if (toReplace != null && toReplace.getTag().contentEquals(nonCondTag)) {
RouteTypeRule toReplace = region.quickGetEncodingRule(pointTypes[i][ks]);
if (toReplace != null && toReplace.getNonConditionalTag().contentEquals(nonCondTag)) {
break;
}
}