aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRuslan Kashapov <ruslan.kashapov@pantheon.tech>2021-04-30 14:28:18 +0300
committerRuslan Kashapov <ruslan.kashapov@pantheon.tech>2021-04-30 14:28:26 +0300
commit01c3a056d76c8ad87bbfe8d15a4eb5570f9c0d4e (patch)
tree3b5f4bb37b591d0becf67d0b0c96be5ad73fffa2
parentc718b88511539c3b85d3fcd3d7c84e3baa89b749 (diff)
fix sonar code smell
Issue-ID: CPS-358 Change-Id: Ifa1f4bbd5c16a0cf6e4ac73568c8560e42b85365 Signed-off-by: Ruslan Kashapov <ruslan.kashapov@pantheon.tech>
-rw-r--r--cps-service/src/main/java/org/onap/cps/spi/model/DataNodeBuilder.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/cps-service/src/main/java/org/onap/cps/spi/model/DataNodeBuilder.java b/cps-service/src/main/java/org/onap/cps/spi/model/DataNodeBuilder.java
index 6530e724e9..762e61ac59 100644
--- a/cps-service/src/main/java/org/onap/cps/spi/model/DataNodeBuilder.java
+++ b/cps-service/src/main/java/org/onap/cps/spi/model/DataNodeBuilder.java
@@ -128,7 +128,7 @@ public class DataNodeBuilder {
if (normalizedNodeTree != null) {
return buildCollectionFromNormalizedNodeTree();
} else {
- return ImmutableSet.of(buildFromAttributes());
+ return Set.of(buildFromAttributes());
}
}