commit
34387a78a0
|
@ -50,6 +50,9 @@ public class ModifyAttributeVisitor extends NodeVisitor {
|
||||||
|| (resourceId >= 0 && resourceId == attributeItem.getResourceId())) {
|
|| (resourceId >= 0 && resourceId == attributeItem.getResourceId())) {
|
||||||
hasBeenAddedAttributeList.add(attributeItem);
|
hasBeenAddedAttributeList.add(attributeItem);
|
||||||
newObj = attributeItem.getValue();
|
newObj = attributeItem.getValue();
|
||||||
|
if (obj != null && newObj != null && obj.getClass() != newObj.getClass()) {
|
||||||
|
type = attributeItem.getType();
|
||||||
|
}
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue