diff options
author | Benjamin, Max (mb388a) <mb388a@att.com> | 2020-10-21 12:48:13 -0400 |
---|---|---|
committer | Benjamin, Max (mb388a) <mb388a@att.com> | 2020-10-21 12:48:13 -0400 |
commit | a239fb97ca9149240ba794d9cd67973c3946d85a (patch) | |
tree | 82cd47c20c4de5f1459ce9de8ff935178ca01d9c /bpmn | |
parent | eb00f2d1bbc80fb858f15a565a54fa8336c6650d (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')
-rw-r--r-- | bpmn/so-bpmn-tasks/src/main/java/org/onap/so/client/aai/mapper/AAIObjectMapper.java | 2 |
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) { |