diff options
Diffstat (limited to 'csarvalidation/src/main')
-rw-r--r-- | csarvalidation/src/main/java/org/onap/cvc/csar/RulesToValidate.java | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/csarvalidation/src/main/java/org/onap/cvc/csar/RulesToValidate.java b/csarvalidation/src/main/java/org/onap/cvc/csar/RulesToValidate.java index 7ca0dc5..14fe1de 100644 --- a/csarvalidation/src/main/java/org/onap/cvc/csar/RulesToValidate.java +++ b/csarvalidation/src/main/java/org/onap/cvc/csar/RulesToValidate.java @@ -21,17 +21,17 @@ import java.util.List; public class RulesToValidate { private static final String RULES_ATTRIBUTE_SEPARATOR = ","; - private final String rulesToValidate; + private final String validateRules; - public RulesToValidate(String rulesToValidate) { - this.rulesToValidate = rulesToValidate; + public RulesToValidate(String validationRules) { + this.validateRules = validationRules; } public List<String> get(){ List<String> rules = new ArrayList<>(); - if(!rulesToValidate.isEmpty()){ - String[] listOfRulesToValidate = rulesToValidate.split(RULES_ATTRIBUTE_SEPARATOR); + if(!validateRules.isEmpty()){ + String[] listOfRulesToValidate = validateRules.split(RULES_ATTRIBUTE_SEPARATOR); rules.addAll(Arrays.asList(listOfRulesToValidate)); } |