Skip to content

Commit

Permalink
Update to fix for 10.6 bvrokers
Browse files Browse the repository at this point in the history
  • Loading branch information
fwanssa committed Nov 24, 2023
1 parent 9ef9298 commit b9b5090
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 3 additions & 1 deletion src/main/java/com/solace/tools/solconfig/model/JsonSpec.java
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,9 @@ protected Map<String, List<String>> findAttributes(String collectionPath){
result.put(k, mPatch.get(k));
}
});
sortOutSpecialAttributes(collectionPath, result);
if(!result.isEmpty()){
sortOutSpecialAttributes(collectionPath, result);
}
result.put(AttributeType.ALL.toString(), getAttributeNames(collectionPath));
return result;
}
Expand Down
4 changes: 3 additions & 1 deletion src/main/java/com/solace/tools/solconfig/model/SempSpec.java
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,9 @@ public static void setupByString(String jsonString) {
private static void hardcodeSetup() {
HARD_CODE_REQUIRES_DISABLE.forEach((specPath, list) -> {
var Requires_Disable = sempSpecMap.get(specPath).attributes.get(AttributeType.REQUIRES_DISABLE.toString());
Requires_Disable.addAll(list);
if(Requires_Disable != null) {
Requires_Disable.addAll(list);
}
});
}

Expand Down

0 comments on commit b9b5090

Please sign in to comment.