Fix property crash
This commit is contained in:
parent
06bd71e2c4
commit
8917f6930a
1 changed files with 6 additions and 8 deletions
|
@ -295,14 +295,12 @@ public class RenderingRuleProperty {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
String ts = val.substring(0, k);
|
String ts = val;
|
||||||
if (ts != null) {
|
int[] additionalTypes = obj.getAdditionalTypes();
|
||||||
int[] additionalTypes = obj.getAdditionalTypes();
|
for (int i = 0; i < additionalTypes.length; i++) {
|
||||||
for (int i = 0; i < additionalTypes.length; i++) {
|
TagValuePair vp = obj.getMapIndex().decodeType(additionalTypes[i]);
|
||||||
TagValuePair vp = obj.getMapIndex().decodeType(additionalTypes[i]);
|
if (vp != null && ts.equals(vp.tag)) {
|
||||||
if (vp != null && ts.equals(vp.tag)) {
|
return true;
|
||||||
return true;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue