From: PrasadNaidu Date: Fri, 9 Feb 2018 07:23:36 +0000 (+0530) Subject: Add the @Override annotation X-Git-Tag: v1.2.2~47^2 X-Git-Url: https://gerrit.onap.org/r/gitweb?a=commitdiff_plain;h=refs%2Fchanges%2F97%2F30997%2F1;p=aai%2Fchamp.git Add the @Override annotation Add the @Override annotation above this method signature AbstractLoggingChampGraph.java:L74 Sonar Link : https://sonar.onap.org/component_issues/index?id=org.onap.aai%3Achamp#resolved=false|assignees=PrasadNaidu Location : src/main/java/org/onap/aai/champ/ChampGraph.javaChange-Id: Ifef3f30780de982c898bd2095a14379ef6844a48 Change-Id: I961be806db8afc69e15805563c44a5b95e2b46b5 Issue-ID: AAI-749 Signed-off-by: PrasadNaidu --- diff --git a/src/main/java/org/onap/aai/champ/event/AbstractLoggingChampGraph.java b/src/main/java/org/onap/aai/champ/event/AbstractLoggingChampGraph.java index fe4a1ec..8ceadf1 100644 --- a/src/main/java/org/onap/aai/champ/event/AbstractLoggingChampGraph.java +++ b/src/main/java/org/onap/aai/champ/event/AbstractLoggingChampGraph.java @@ -71,6 +71,7 @@ public abstract class AbstractLoggingChampGraph implements ChampGraph { public abstract Stream queryObjects(Map queryParams); public abstract ChampRelationship executeStoreRelationship(ChampRelationship relationship) throws ChampUnmarshallingException, ChampMarshallingException, ChampObjectNotExistsException, ChampSchemaViolationException, ChampRelationshipNotExistsException; public abstract ChampRelationship executeReplaceRelationship(ChampRelationship relationship) throws ChampUnmarshallingException, ChampMarshallingException, ChampSchemaViolationException, ChampRelationshipNotExistsException; + @Override public abstract Optional retrieveRelationship(Object key) throws ChampUnmarshallingException; public abstract void executeDeleteRelationship(ChampRelationship relationship) throws ChampRelationshipNotExistsException; public abstract Stream retrieveRelationships(ChampObject object) throws ChampUnmarshallingException, ChampObjectNotExistsException;