From 80db39888fdbdee871947f7ea39176ff467dccbf Mon Sep 17 00:00:00 2001 From: Linda Oscar Gcaba Date: Fri, 9 Dec 2022 12:20:52 +0200 Subject: [PATCH] patch --- .../src/main/java/com/vijay/jsonwizard/utils/Utils.java | 4 ---- 1 file changed, 4 deletions(-) diff --git a/android-json-form-wizard/src/main/java/com/vijay/jsonwizard/utils/Utils.java b/android-json-form-wizard/src/main/java/com/vijay/jsonwizard/utils/Utils.java index 5a0085d6c..ae92e78d0 100644 --- a/android-json-form-wizard/src/main/java/com/vijay/jsonwizard/utils/Utils.java +++ b/android-json-form-wizard/src/main/java/com/vijay/jsonwizard/utils/Utils.java @@ -347,10 +347,6 @@ public static void buildRulesWithUniqueId(JSONObject element, String uniqueId, S for (Map map : mapArrayList) { JSONObject jsonRulesDynamicObject = new JSONObject(); String strCondition = (String) map.get(RuleConstant.CONDITION); - List 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));