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>
import org.onap.aai.modelloader.entity.Artifact;
+@FunctionalInterface
public interface IModelParser {
public List<Artifact> parse(byte[] artifactPayload, String artifactName);
}