Remove dead code
[sdc.git] / catalog-model / src / main / java / org / openecomp / sdc / be / model / operations / impl / AbstractOperation.java
index a51eb33..40fe5c8 100644 (file)
@@ -228,15 +228,11 @@ public abstract class AbstractOperation {
     }
 
     protected String getValueFromJsonElement(JsonElement jsonElement) {
-        String value = null;
-
         if (jsonElement == null || jsonElement.isJsonNull()) {
-            value = EMPTY_VALUE;
+            return EMPTY_VALUE;
         } else {
-            value = jsonElement.toString();
+            return jsonElement.toString();
         }
-
-        return value;
     }
 
     protected Either<String, JanusGraphOperationStatus> getInnerType(ToscaPropertyType type, Supplier<SchemaDefinition> schemeGen) {