Sonar Minor:Remove the declaration of exception 05/26705/1
authoraishkashyap <as00476394@techmahindra.com>
Thu, 21 Dec 2017 09:56:46 +0000 (15:26 +0530)
committeraishkashyap <as00476394@techmahindra.com>
Thu, 21 Dec 2017 09:56:57 +0000 (15:26 +0530)
Remove the declaration of thrown exception

Sonar Link:
https://sonar.onap.org/component_issues/index?id=org.onap.aai.resources%3Aresources#statuses=OPEN|assignees=aishkashyap

Location:
src/main/java/org/onap/aai/rest/tools/ModelVersionTransformer.java
Line No:332

Issue-ID: AAI-577
Change-Id: I4947d8023c076a321513c5f43c6bd35ab3088930
Signed-off-by: aishkashyap <as00476394@techmahindra.com>
aai-resources/src/main/java/org/onap/aai/rest/tools/ModelVersionTransformer.java

index 52fe859..aefd99b 100644 (file)
@@ -329,7 +329,7 @@ public class ModelVersionTransformer extends RESTAPI {
 
        }
 
-       private Map<String, String> getCurrentModelsFromGraph(HttpHeaders headers, String transactionId, UriInfo info) throws NoEdgeRuleFoundException, AAIException {
+       private Map<String, String> getCurrentModelsFromGraph(HttpHeaders headers, String transactionId, UriInfo info) throws  AAIException {
 
                TransactionalGraphEngine dbEngine = null;
                Map<String, String> modelVerModelMap = new HashMap<String,String>() ;