diff options
author | Parshad Patel <pars.patel@samsung.com> | 2020-03-13 12:31:02 +0900 |
---|---|---|
committer | Parshad Patel <pars.patel@samsung.com> | 2020-03-13 12:32:23 +0900 |
commit | 5f6afc61e09eaeda51d6e6834ab0646b00047bcf (patch) | |
tree | 68c1628f871c79d3e0e662d4ac4180837f1de85a /bpmn | |
parent | 3c83d49d9b70d8dd371ad5bf4dfc22a070344102 (diff) |
Fix Critical & Major issues in adapters
The Cyclomatic Complexity of this method "createStackParam" is 16 which is greater than 10 authorized
Either log or rethrow this exception
Issue-ID: SO-1841
Change-Id: Ie5539a853a112ed751bbf891699f181479537e47
Signed-off-by: Parshad Patel <pars.patel@samsung.com>
Diffstat (limited to 'bpmn')
-rw-r--r-- | bpmn/so-bpmn-infrastructure-common/src/main/java/org/onap/so/bpmn/infrastructure/aai/groovyflows/AAIServiceInstance.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bpmn/so-bpmn-infrastructure-common/src/main/java/org/onap/so/bpmn/infrastructure/aai/groovyflows/AAIServiceInstance.java b/bpmn/so-bpmn-infrastructure-common/src/main/java/org/onap/so/bpmn/infrastructure/aai/groovyflows/AAIServiceInstance.java index f7b0c662db..fb61da6412 100644 --- a/bpmn/so-bpmn-infrastructure-common/src/main/java/org/onap/so/bpmn/infrastructure/aai/groovyflows/AAIServiceInstance.java +++ b/bpmn/so-bpmn-infrastructure-common/src/main/java/org/onap/so/bpmn/infrastructure/aai/groovyflows/AAIServiceInstance.java @@ -30,7 +30,7 @@ public class AAIServiceInstance { String environmentContext; String workloadContext; - public class AAIServiceInstanceBuilder { + public static class AAIServiceInstanceBuilder { private String serviceInstanceName; private String serviceType; private String serviceRole; |