diff options
author | aishkashyap <as00476394@techmahindra.com> | 2018-01-12 16:01:55 +0530 |
---|---|---|
committer | aishkashyap <as00476394@techmahindra.com> | 2018-01-12 16:02:01 +0530 |
commit | 5f97698ea3c09130d5d4a62308365b4653066491 (patch) | |
tree | 488cd49a9a48f95000b8c9b9dc9cbec68562e057 /src | |
parent | e8f57313f2d84d8851c7d935413d0e7b20db49a6 (diff) |
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 <as00476394@techmahindra.com>
Diffstat (limited to 'src')
-rw-r--r-- | src/main/java/org/onap/aai/modelloader/entity/model/IModelParser.java | 1 |
1 files changed, 1 insertions, 0 deletions
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<Artifact> parse(byte[] artifactPayload, String artifactName); } |