diff options
author | Ittay Stern <ittay.stern@att.com> | 2019-08-06 11:33:06 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2019-08-06 11:33:06 +0000 |
commit | 3ba3f77b2daa129fb2379e932cf35277e827a51b (patch) | |
tree | b3b8544ace76fd53b0b1b159118481fab6fd2867 /vid-app-common/src/main/java | |
parent | 6da0213ac4747a37a1dde8007339ccf5e88f8554 (diff) | |
parent | 682cd3f0c30423acc0a32b40c9b58bb334f8bbdc (diff) |
Merge "Sonar Fix- CommandParentData.java- Move this variable to comply with Java Code Conventions"
Diffstat (limited to 'vid-app-common/src/main/java')
-rw-r--r-- | vid-app-common/src/main/java/org/onap/vid/job/command/CommandParentData.java | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/vid-app-common/src/main/java/org/onap/vid/job/command/CommandParentData.java b/vid-app-common/src/main/java/org/onap/vid/job/command/CommandParentData.java index 744b2fe39..45fc070e9 100644 --- a/vid-app-common/src/main/java/org/onap/vid/job/command/CommandParentData.java +++ b/vid-app-common/src/main/java/org/onap/vid/job/command/CommandParentData.java @@ -45,6 +45,10 @@ public class CommandParentData { private static final String RESOURCE_INSTANCE_IDS = "resourceInstancesIds"; private static final String RESOURCE_MODEL_INFOS = "resourceModelInfos"; + + private Map<CommandDataKey, String> resourceInstancesIds = new HashMap<>(); + private Map<CommandDataKey, ModelInfo> resourceModelInfos = new HashMap<>(); + private Action actionPhase = null; private final TypeReference<Map<CommandDataKey, String>> mapCommandKeyToString = new TypeReference<Map<CommandDataKey, String>> () {}; @@ -74,9 +78,6 @@ public class CommandParentData { return data; } - private Map<CommandDataKey, String> resourceInstancesIds = new HashMap<>(); - private Map<CommandDataKey, ModelInfo> resourceModelInfos = new HashMap<>(); - private Action actionPhase = null; public void addModelInfo(CommandDataKey modelInfoKey, ModelInfo modelInfo) { resourceModelInfos.put(modelInfoKey, modelInfo); |