aboutsummaryrefslogtreecommitdiffstats
path: root/bpmn/so-bpmn-tasks/src/main/java/org
diff options
context:
space:
mode:
authorBenjamin, Max (mb388a) <mb388a@att.com>2020-10-21 12:48:13 -0400
committerBenjamin, Max (mb388a) <mb388a@att.com>2020-10-21 12:48:13 -0400
commita239fb97ca9149240ba794d9cd67973c3946d85a (patch)
tree82cd47c20c4de5f1459ce9de8ff935178ca01d9c /bpmn/so-bpmn-tasks/src/main/java/org
parenteb00f2d1bbc80fb858f15a565a54fa8336c6650d (diff)
Remove static declaration
Class is a managed spring singleton, static not required Issue-ID: SO-3304 Signed-off-by: Benjamin, Max (mb388a) <mb388a@att.com> Change-Id: I25aef43025f5453c8bd788721fbae45b568e905a
Diffstat (limited to 'bpmn/so-bpmn-tasks/src/main/java/org')
-rw-r--r--bpmn/so-bpmn-tasks/src/main/java/org/onap/so/client/aai/mapper/AAIObjectMapper.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/bpmn/so-bpmn-tasks/src/main/java/org/onap/so/client/aai/mapper/AAIObjectMapper.java b/bpmn/so-bpmn-tasks/src/main/java/org/onap/so/client/aai/mapper/AAIObjectMapper.java
index 614401d32a..9899d89b5e 100644
--- a/bpmn/so-bpmn-tasks/src/main/java/org/onap/so/client/aai/mapper/AAIObjectMapper.java
+++ b/bpmn/so-bpmn-tasks/src/main/java/org/onap/so/client/aai/mapper/AAIObjectMapper.java
@@ -52,7 +52,7 @@ import org.springframework.stereotype.Component;
@Component
public class AAIObjectMapper {
- private static final ModelMapper modelMapper = new ModelMapper();
+ private final ModelMapper modelMapper = new ModelMapper();
public org.onap.aai.domain.yang.ServiceInstance mapServiceInstance(ServiceInstance serviceInstance) {
if (modelMapper.getTypeMap(ServiceInstance.class, org.onap.aai.domain.yang.ServiceInstance.class) == null) {