summaryrefslogtreecommitdiffstats
path: root/prh-commons
diff options
context:
space:
mode:
authorpwielebs <piotr.wielebski@nokia.com>2019-05-30 14:10:09 +0200
committerpwielebs <piotr.wielebski@nokia.com>2019-05-30 15:40:37 +0200
commit10665c85e94a88d02f1218609fbd17465257764d (patch)
tree5008b9c9dea33b3d93caccc9bdf03b162f6f884f /prh-commons
parentdc98386e6e888cc0e0c54bc9e984c9d0ada5e73a (diff)
Fix Sonar issues
Change-Id: If7134bf3b5aabdba6d057562ae863b40412e2d6b Issue-ID: DCAEGEN2-1501 Signed-off-by: pwielebs <piotr.wielebski@nokia.com>
Diffstat (limited to 'prh-commons')
-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")