File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed
meta/src/main/java/org/jboss/hal/meta/description Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -81,7 +81,9 @@ private AttributeCollection getAttributes(String path) {
8181 ModelNode parentValue = p .getValue ();
8282 // process also on LIST type if we're in request attributes.
8383 boolean isRequestProperties = path .endsWith (REQUEST_PROPERTIES );
84- if (parentValue .hasDefined (TYPE ) && (parentValue .get (TYPE ).asType ().equals (ModelType .OBJECT ) || (isRequestProperties && parentValue .get (TYPE ).asType ().equals (ModelType .LIST )))
84+ if (parentValue .hasDefined (TYPE )
85+ && (parentValue .get (TYPE ).asType ().equals (ModelType .OBJECT )
86+ || (isRequestProperties && parentValue .get (TYPE ).asType ().equals (ModelType .LIST )))
8587 && !parentValue .get (VALUE_TYPE ).asString ().equalsIgnoreCase (STRING )) {
8688 for (Property nested : parentValue .get (VALUE_TYPE ).asPropertyList ()) {
8789 ModelNode nestedValue = nested .getValue ();
You can’t perform that action at this time.
0 commit comments