From 1fa0d15336844fd236a6a215978dc1c0f6f1a1f1 Mon Sep 17 00:00:00 2001 From: "p.borelowski" Date: Thu, 18 Apr 2019 09:28:01 +0200 Subject: Removed unused fields from AbstractModelElement Removed 3 unused private fields from the class org.onap.clamp.clds.model.properties.AbstractModelElement along with the following changes within 4 other classes and 1 test class Change-Id: Id4cc30964ca5478add446601f642c6c0ed190ab7 Issue-ID: CLAMP-347 Signed-off-by: p.borelowski --- .../java/org/onap/clamp/clds/model/prop/CustomModelElement.java | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'src/test') diff --git a/src/test/java/org/onap/clamp/clds/model/prop/CustomModelElement.java b/src/test/java/org/onap/clamp/clds/model/prop/CustomModelElement.java index 871d0a65..31d0be88 100644 --- a/src/test/java/org/onap/clamp/clds/model/prop/CustomModelElement.java +++ b/src/test/java/org/onap/clamp/clds/model/prop/CustomModelElement.java @@ -5,6 +5,8 @@ * Copyright (C) 2017-2018 AT&T Intellectual Property. All rights * reserved. * ================================================================================ + * Modifications Copyright (c) 2019 Samsung + * ================================================================================ * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at @@ -26,7 +28,6 @@ package org.onap.clamp.clds.model.prop; import com.google.gson.JsonObject; import org.onap.clamp.clds.model.properties.AbstractModelElement; import org.onap.clamp.clds.model.properties.ModelBpmn; -import org.onap.clamp.clds.model.properties.ModelProperties; import org.onap.clamp.clds.util.JsonUtils; /** @@ -40,8 +41,8 @@ public class CustomModelElement extends AbstractModelElement { /** * Main Constructor. */ - public CustomModelElement(ModelProperties modelProp, ModelBpmn modelBpmn, JsonObject modelJson) { - super(CUSTOM_TYPE, modelProp, modelBpmn, modelJson); + public CustomModelElement(ModelBpmn modelBpmn, JsonObject modelJson) { + super(CUSTOM_TYPE, modelBpmn, modelJson); topicPublishes = JsonUtils.getStringValueByName(modelElementJsonNode, "topicPublishes"); test = JsonUtils.getStringValueByName(modelElementJsonNode, "test"); } -- cgit 1.2.3-korg