summaryrefslogtreecommitdiffstats
path: root/trustStoreMerger/src/main
diff options
context:
space:
mode:
authortkogut <tomasz.kogut@nokia.com>2020-09-17 09:13:32 +0200
committerTomasz Kogut <tomasz.kogut@nokia.com>2020-09-17 07:29:06 +0000
commit96b0be0389a6563d67a64bd302547d582a4de862 (patch)
tree1ac17e223a5b81da5c0403c480eb6ecfacf86097 /trustStoreMerger/src/main
parentdbe9528c1571b97728649b54e00be6ae947c23ef (diff)
[OOM-CPMv2] Fix sonar issue
Use isEmpty() to check whether the collection is empty or not Issue-ID: OOM-2526 Signed-off-by: tkogut <tomasz.kogut@nokia.com> Change-Id: I3852a287a43f356e74a94dfbcce5fbffb3c6c2d3
Diffstat (limited to 'trustStoreMerger/src/main')
-rw-r--r--trustStoreMerger/src/main/java/org/onap/oom/certservice/postprocessor/copier/KeystoreCopier.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/trustStoreMerger/src/main/java/org/onap/oom/certservice/postprocessor/copier/KeystoreCopier.java b/trustStoreMerger/src/main/java/org/onap/oom/certservice/postprocessor/copier/KeystoreCopier.java
index eba59fd6..f5cea212 100644
--- a/trustStoreMerger/src/main/java/org/onap/oom/certservice/postprocessor/copier/KeystoreCopier.java
+++ b/trustStoreMerger/src/main/java/org/onap/oom/certservice/postprocessor/copier/KeystoreCopier.java
@@ -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");
}
}