Fix additional
This commit is contained in:
parent
59e3088011
commit
11d62188e4
1 changed files with 9 additions and 3 deletions
|
@ -264,10 +264,16 @@ public class RenderingRuleProperty {
|
|||
@Override
|
||||
public boolean accept(int ruleValue, int renderingProperty, RenderingRuleSearchRequest req) {
|
||||
BinaryMapDataObject obj = req.getObject();
|
||||
if (obj == null) {
|
||||
return true;
|
||||
}
|
||||
String val = req.getStorage().getStringValue(ruleValue);
|
||||
if (obj == null) {
|
||||
int vl = req.getIntPropertyValue(this);
|
||||
if(vl == -1) {
|
||||
return false;
|
||||
}
|
||||
String val2 = req.getStorage().getStringValue(vl);
|
||||
return val != null && val.equals(val2);
|
||||
}
|
||||
|
||||
int i = val.indexOf('=');
|
||||
if (i != -1) {
|
||||
String ts = val.substring(0, i);
|
||||
|
|
Loading…
Reference in a new issue