Skip to content

Commit 49bf30f

Browse files
committed
Code format
1 parent e4538cd commit 49bf30f

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

meta/src/main/java/org/jboss/hal/meta/description/ResourceDescription.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff 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();

0 commit comments

Comments
 (0)