Skip to content

Commit

Permalink
fix subclusters
Browse files Browse the repository at this point in the history
  • Loading branch information
nr23730 committed Feb 26, 2024
1 parent 407c203 commit 571c4a1
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -307,7 +307,7 @@ public static void gen_CLUSTER(String path, String name, Object jsonmap,
Boolean isSlot = ((String) XP.evaluate(path + "/@type", opt, XPathConstants.STRING)).equals("C_ARCHETYPE_ROOT");
String aNodeId = isSlot ? paramName : nodeId;
String newPath = path + "/attributes";
String code = !"".equals(paramName) ? paramName : nodeId;
String code = !"".equals(paramName) && !name.equals(paramName) ? paramName : nodeId;
if (!map.containsKey(code)) {
return;
}
Expand Down

0 comments on commit 571c4a1

Please sign in to comment.