diff options
author | Arindam Mondal <arind.mondal@samsung.com> | 2019-09-03 14:23:35 +0900 |
---|---|---|
committer | Ofir Sonsino <ofir.sonsino@intl.att.com> | 2019-09-03 08:12:57 +0000 |
commit | 6c4fe4d6157352eadc47ef72b9a76b0cbdb0f94e (patch) | |
tree | 69742ba9be5c0c100099b87bee8737d8f38e57de /openecomp-be/lib | |
parent | 0bf19d95a42082ce34e977a24144811d94880d82 (diff) |
General Sonar fixes
+)Organize imports
++) log formatter
Issue-ID: SDC-2542
Change-Id: Ibb4b568b19ee40a68f783bfa820bd7c73aae5c1f
Signed-off-by: arindamm <arind.mondal@samsung.com>
Diffstat (limited to 'openecomp-be/lib')
-rw-r--r-- | openecomp-be/lib/openecomp-core-lib/openecomp-utilities-lib/src/main/java/org/openecomp/core/utilities/deserializers/RequirementDefinitionDeserializer.java | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/openecomp-be/lib/openecomp-core-lib/openecomp-utilities-lib/src/main/java/org/openecomp/core/utilities/deserializers/RequirementDefinitionDeserializer.java b/openecomp-be/lib/openecomp-core-lib/openecomp-utilities-lib/src/main/java/org/openecomp/core/utilities/deserializers/RequirementDefinitionDeserializer.java index 7d3f610ec7..4a2fcaf9fa 100644 --- a/openecomp-be/lib/openecomp-core-lib/openecomp-utilities-lib/src/main/java/org/openecomp/core/utilities/deserializers/RequirementDefinitionDeserializer.java +++ b/openecomp-be/lib/openecomp-core-lib/openecomp-utilities-lib/src/main/java/org/openecomp/core/utilities/deserializers/RequirementDefinitionDeserializer.java @@ -19,20 +19,17 @@ */ package org.openecomp.core.utilities.deserializers; +import java.lang.reflect.Type; +import java.util.Objects; +import java.util.Optional; import org.onap.sdc.tosca.datatypes.model.RequirementDefinition; - import com.google.gson.JsonArray; import com.google.gson.JsonDeserializationContext; import com.google.gson.JsonDeserializer; import com.google.gson.JsonElement; import com.google.gson.JsonObject; -import com.google.gson.JsonParseException; import com.google.gson.JsonPrimitive; -import java.lang.reflect.Type; -import java.util.Objects; -import java.util.Optional; - public class RequirementDefinitionDeserializer implements JsonDeserializer<RequirementDefinition> { private static final String CAPABILITY = "capability"; |