From 5f97698ea3c09130d5d4a62308365b4653066491 Mon Sep 17 00:00:00 2001 From: aishkashyap Date: Fri, 12 Jan 2018 16:01:55 +0530 Subject: Sonar Major:Annotate the IModelParser interface. Annotate the IModelParser interface with the @FunctionalInterface annotation. Sonar Link: https://sonar.onap.org/component_issues/index?id=org.onap.aai.model-loader%3Amodel-loader#resolved=false|assigned=false Location: src/main/java/org/onap/aai/modelloader/entity/model/IModelParser.java Line No:30 Issue-ID: AAI-645 Change-Id: I0c65379ecde9f6b103bf17515bd9071213462fea Signed-off-by: aishkashyap --- src/main/java/org/onap/aai/modelloader/entity/model/IModelParser.java | 1 + 1 file changed, 1 insertion(+) (limited to 'src/main/java') diff --git a/src/main/java/org/onap/aai/modelloader/entity/model/IModelParser.java b/src/main/java/org/onap/aai/modelloader/entity/model/IModelParser.java index 0d34908..6d263a2 100644 --- a/src/main/java/org/onap/aai/modelloader/entity/model/IModelParser.java +++ b/src/main/java/org/onap/aai/modelloader/entity/model/IModelParser.java @@ -27,6 +27,7 @@ import java.util.List; import org.onap.aai.modelloader.entity.Artifact; +@FunctionalInterface public interface IModelParser { public List parse(byte[] artifactPayload, String artifactName); } -- cgit 1.2.3-korg