aboutsummaryrefslogtreecommitdiffstats
path: root/prh-commons/src
diff options
context:
space:
mode:
authorPiotr Jaszczyk <piotr.jaszczyk@nokia.com>2019-05-31 09:04:24 +0000
committerGerrit Code Review <gerrit@onap.org>2019-05-31 09:04:24 +0000
commitdc791333f7820e2e826bf06a60af00b796a7c498 (patch)
treee6880d6a016d6102b551797938c9be2e279a5f02 /prh-commons/src
parentc0d1ad41b36b9a3036ea9451a65f938ce94c0dc8 (diff)
parent10665c85e94a88d02f1218609fbd17465257764d (diff)
Merge "Fix Sonar issues"
Diffstat (limited to 'prh-commons/src')
-rw-r--r--prh-commons/src/main/java/org/onap/dcaegen2/services/prh/model/bbs/Relationship.java1
-rw-r--r--prh-commons/src/main/java/org/onap/dcaegen2/services/prh/model/bbs/RelationshipWrapper.java1
2 files changed, 2 insertions, 0 deletions
diff --git a/prh-commons/src/main/java/org/onap/dcaegen2/services/prh/model/bbs/Relationship.java b/prh-commons/src/main/java/org/onap/dcaegen2/services/prh/model/bbs/Relationship.java
index 17eb600a..1abeddf3 100644
--- a/prh-commons/src/main/java/org/onap/dcaegen2/services/prh/model/bbs/Relationship.java
+++ b/prh-commons/src/main/java/org/onap/dcaegen2/services/prh/model/bbs/Relationship.java
@@ -25,6 +25,7 @@ import org.immutables.value.Value;
@Value.Immutable
@Gson.TypeAdapters(fieldNamingStrategy = true)
+@FunctionalInterface
public interface Relationship {
@SerializedName(value = "related-link")
diff --git a/prh-commons/src/main/java/org/onap/dcaegen2/services/prh/model/bbs/RelationshipWrapper.java b/prh-commons/src/main/java/org/onap/dcaegen2/services/prh/model/bbs/RelationshipWrapper.java
index b6e1bad5..dcf81c0f 100644
--- a/prh-commons/src/main/java/org/onap/dcaegen2/services/prh/model/bbs/RelationshipWrapper.java
+++ b/prh-commons/src/main/java/org/onap/dcaegen2/services/prh/model/bbs/RelationshipWrapper.java
@@ -25,6 +25,7 @@ import org.immutables.value.Value;
@Value.Immutable
@Gson.TypeAdapters(fieldNamingStrategy = true)
+@FunctionalInterface
public interface RelationshipWrapper {
@SerializedName(value = "relationship")