Details
-
Bug
-
Resolution: Done
-
Major
-
7.1.0.DR12
-
None
-
Not Required
Description
I found case of comparison of incompatible types for equality: String.equals(org.jboss.dmr.ModelNode)
... final String value = reader.getAttributeValue(i); ... if (!value.equals(TransactionSubsystemRootResourceDefinition.OBJECT_STORE_PATH.getDefaultValue())) { needsDefaultRelativeTo = false; }
public ModelNode getDefaultValue() { return defaultValue; }
Please fix the code to compare the right types.
Attachments
Issue Links
- is cloned by
-
WFLY-8271 Comparing incompatible types for equality: String.equals(org.jboss.dmr.ModelNode)
-
- Closed
-