Merge "[OOM-CPMv2] Fix sonar issue"
authorBogumil Zebek <bogumil.zebek@nokia.com>
Fri, 18 Sep 2020 06:04:47 +0000 (06:04 +0000)
committerGerrit Code Review <gerrit@onap.org>
Fri, 18 Sep 2020 06:04:47 +0000 (06:04 +0000)
trustStoreMerger/src/main/java/org/onap/oom/certservice/postprocessor/copier/KeystoreCopier.java

index eba59fd..f5cea21 100644 (file)
@@ -52,7 +52,7 @@ public class KeystoreCopier {
     }
 
     private void containsPaths(List<String> sources) {
-        if (sources.size() == 0) {
+        if (sources.isEmpty()) {
             LOGGER.info("No Keystore files to copy");
         }
     }