From cd83e50065c1a7a1b9ec734ab70b5cdaf5eb5085 Mon Sep 17 00:00:00 2001 From: Arundathi Patil Date: Fri, 30 Nov 2018 15:26:32 +0530 Subject: Sonar fix: ModelType.java Fixed sonar issues/code-smells across this file. Issue-ID: CCSDK-771 Change-Id: I9a36c9b5a955cfa027de3a2c002634ac1755d68d Signed-off-by: Arundathi Patil --- .../onap/ccsdk/apps/controllerblueprints/service/domain/ModelType.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'ms/controllerblueprints/modules') diff --git a/ms/controllerblueprints/modules/service/src/main/java/org/onap/ccsdk/apps/controllerblueprints/service/domain/ModelType.java b/ms/controllerblueprints/modules/service/src/main/java/org/onap/ccsdk/apps/controllerblueprints/service/domain/ModelType.java index d8fea60e..33c7ae42 100644 --- a/ms/controllerblueprints/modules/service/src/main/java/org/onap/ccsdk/apps/controllerblueprints/service/domain/ModelType.java +++ b/ms/controllerblueprints/modules/service/src/main/java/org/onap/ccsdk/apps/controllerblueprints/service/domain/ModelType.java @@ -84,7 +84,7 @@ public class ModelType implements Serializable { @Override public String toString() { - String buffer = "[" + ", modelName = " + modelName + + return "[" + ", modelName = " + modelName + ", derivedFrom = " + derivedFrom + ", definitionType = " + definitionType + ", description = " + description + @@ -93,7 +93,6 @@ public class ModelType implements Serializable { ", updatedBy = " + updatedBy + ", tags = " + tags + "]"; - return buffer; } public String getModelName() { -- cgit 1.2.3-korg