Skip to content

Commit

Permalink
patch
Browse files Browse the repository at this point in the history
  • Loading branch information
lindagcaba committed Dec 9, 2022
1 parent da5dd10 commit 80db398
Showing 1 changed file with 0 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -347,10 +347,6 @@ public static void buildRulesWithUniqueId(JSONObject element, String uniqueId, S
for (Map<String, Object> map : mapArrayList) {
JSONObject jsonRulesDynamicObject = new JSONObject();
String strCondition = (String) map.get(RuleConstant.CONDITION);
List<String> conditionKeys = getConditionKeys(strCondition);
for (String conditionKey : conditionKeys) {
strCondition = strCondition.replace(conditionKey, conditionKey + "_" + uniqueId);
}
jsonRulesDynamicObject.put(RuleConstant.NAME, String.valueOf(map.get(RuleConstant.NAME)).concat("_").concat(uniqueId));
jsonRulesDynamicObject.put(RuleConstant.DESCRIPTION, String.valueOf(map.get(RuleConstant.DESCRIPTION)).concat("_").concat(uniqueId));
jsonRulesDynamicObject.put(RuleConstant.PRIORITY, map.get(RuleConstant.PRIORITY));
Expand Down

0 comments on commit 80db398

Please sign in to comment.