aboutsummaryrefslogtreecommitdiffstats
path: root/catalog-model/src/main
diff options
context:
space:
mode:
authorBartosz Gardziejewski <bartosz.gardziejewski@nokia.com>2019-07-17 11:10:21 +0200
committerTomasz Golabek <tomasz.golabek@nokia.com>2019-07-25 13:20:42 +0000
commit156ca46de6c9eaac3c943d2676eaa73f02dd422d (patch)
tree36df1a9c620975888c2e0b0cc6abf725f28800d9 /catalog-model/src/main
parentb0006affdc87ac6ebcfa9bea717ea52c0967952f (diff)
fixing warnings from checkstyle in common-be
Issue-ID: SDC-2454 Signed-off-by: Bartosz Gardziejewski <bartosz.gardziejewski@nokia.com> Change-Id: I1ee7d055f865eef209e621ec45eba33eef69736f
Diffstat (limited to 'catalog-model/src/main')
-rw-r--r--catalog-model/src/main/java/org/openecomp/sdc/be/model/operations/impl/PropertyOperation.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/catalog-model/src/main/java/org/openecomp/sdc/be/model/operations/impl/PropertyOperation.java b/catalog-model/src/main/java/org/openecomp/sdc/be/model/operations/impl/PropertyOperation.java
index 22e7d02ce7..6772163b7f 100644
--- a/catalog-model/src/main/java/org/openecomp/sdc/be/model/operations/impl/PropertyOperation.java
+++ b/catalog-model/src/main/java/org/openecomp/sdc/be/model/operations/impl/PropertyOperation.java
@@ -1346,7 +1346,7 @@ public class PropertyOperation extends AbstractOperation implements IPropertyOpe
List<String> rule = new ArrayList<>();
rule.add(componentInstanceId);
for (int i = 0; i < size - 1; i++) {
- rule.add(PropertyRule.RULE_ANY_MATCH);
+ rule.add(PropertyRule.getRuleAnyMatch());
}
PropertyRule propertyRule = new PropertyRule(rule, value);
rules.add(propertyRule);
@@ -1379,7 +1379,7 @@ public class PropertyOperation extends AbstractOperation implements IPropertyOpe
}
String secondToken = rule.getToken(2);
- if (secondToken != null && (secondToken.equals(PropertyRule.FORCE_ALL) || secondToken.equals(PropertyRule.ALL))) {
+ if (secondToken != null && (secondToken.equals(PropertyRule.getForceAll()) || secondToken.equals(PropertyRule.getALL()))) {
propertyRule = rule;
break;
}