Sonar Major:Annotate the IModelParser interface. 37/28037/1
authoraishkashyap <as00476394@techmahindra.com>
Fri, 12 Jan 2018 10:31:55 +0000 (16:01 +0530)
committeraishkashyap <as00476394@techmahindra.com>
Fri, 12 Jan 2018 10:32:01 +0000 (16:02 +0530)
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 <as00476394@techmahindra.com>
src/main/java/org/onap/aai/modelloader/entity/model/IModelParser.java

index 0d34908..6d263a2 100644 (file)
@@ -27,6 +27,7 @@ import java.util.List;
 
 import org.onap.aai.modelloader.entity.Artifact;
 
+@FunctionalInterface
 public interface IModelParser {
   public List<Artifact> parse(byte[] artifactPayload, String artifactName);
 }