diff options
author | 2019-09-04 11:43:25 +0000 | |
---|---|---|
committer | 2019-09-04 11:43:25 +0000 | |
commit | ed98e8ab55a6ebf96b4645cad2324e14bac6e202 (patch) | |
tree | 79961749a40f8af66460e7f6f71ab2b99cd13344 /csarvalidation/src/main/java/org/onap/cvc/csar/VTPValidateCSAR.java | |
parent | fc685ddff28f6be4fd29ffbca85f66f56979dafb (diff) | |
parent | 9c07c95e34bbc24022cb49efa584234f4067534a (diff) |
Merge "modify Sonar Issue"
Diffstat (limited to 'csarvalidation/src/main/java/org/onap/cvc/csar/VTPValidateCSAR.java')
-rw-r--r-- | csarvalidation/src/main/java/org/onap/cvc/csar/VTPValidateCSAR.java | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/csarvalidation/src/main/java/org/onap/cvc/csar/VTPValidateCSAR.java b/csarvalidation/src/main/java/org/onap/cvc/csar/VTPValidateCSAR.java index a852d78..20700ac 100644 --- a/csarvalidation/src/main/java/org/onap/cvc/csar/VTPValidateCSAR.java +++ b/csarvalidation/src/main/java/org/onap/cvc/csar/VTPValidateCSAR.java @@ -291,7 +291,9 @@ public class VTPValidateCSAR extends OnapCommand { String[] enabledReqs = properties.getProperty(key, "").split(","); List<String> list = new ArrayList<>(); for(String req: enabledReqs) { - if (!req.isEmpty()) list.add(req); + if (!req.isEmpty()) { + list.add(req); + } } return list; } |