From 85b0eac228f7dd998b075bcdf3c910b27b8f45f6 Mon Sep 17 00:00:00 2001 From: siddharth0905 Date: Wed, 13 Dec 2017 17:36:42 +0530 Subject: Fix sonar issues Rearranged the code Change-Id: Ic08659d8c56aec1a001a2e3e1de2f8e200a10a4e Issue-ID: SDC-343 Signed-off-by: siddharth0905 --- .../impl/ItemElementLoggerTargetServiceName.java | 27 +++++++++++++++------- 1 file changed, 19 insertions(+), 8 deletions(-) (limited to 'openecomp-be/lib/openecomp-core-lib/openecomp-zusammen-lib') diff --git a/openecomp-be/lib/openecomp-core-lib/openecomp-zusammen-lib/openecomp-zusammen-core/src/main/java/org/openecomp/core/zusammen/impl/ItemElementLoggerTargetServiceName.java b/openecomp-be/lib/openecomp-core-lib/openecomp-zusammen-lib/openecomp-zusammen-core/src/main/java/org/openecomp/core/zusammen/impl/ItemElementLoggerTargetServiceName.java index 1a4466a3c5..45981e70ab 100644 --- a/openecomp-be/lib/openecomp-core-lib/openecomp-zusammen-lib/openecomp-zusammen-core/src/main/java/org/openecomp/core/zusammen/impl/ItemElementLoggerTargetServiceName.java +++ b/openecomp-be/lib/openecomp-core-lib/openecomp-zusammen-lib/openecomp-zusammen-core/src/main/java/org/openecomp/core/zusammen/impl/ItemElementLoggerTargetServiceName.java @@ -1,9 +1,20 @@ +/* + * Copyright © 2016-2017 European Support Limited + * + * 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 + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. +*/ package org.openecomp.core.zusammen.impl; -/** - * @author Avrahamg. - * @since February 19, 2017 - */ public enum ItemElementLoggerTargetServiceName { ITEM_CREATION("Item Creation"), ITEM_VERSION_CREATION("Item Version Creation"), @@ -17,11 +28,11 @@ public enum ItemElementLoggerTargetServiceName { private final String description; - public String getDescription() { - return description; - } - ItemElementLoggerTargetServiceName(String description) { this.description = description; } + + public String getDescription() { + return description; + } } -- cgit 1.2.3-korg