Fix sonar issues 29/26229/4
authorsiddharth0905 <siddharth.singh4@amdocs.com>
Wed, 13 Dec 2017 12:06:42 +0000 (17:36 +0530)
committerVitaly Emporopulo <Vitaliy.Emporopulo@amdocs.com>
Sun, 24 Dec 2017 14:45:28 +0000 (14:45 +0000)
Rearranged the code

Change-Id: Ic08659d8c56aec1a001a2e3e1de2f8e200a10a4e
Issue-ID: SDC-343
Signed-off-by: siddharth0905 <siddharth.singh4@amdocs.com>
openecomp-be/lib/openecomp-core-lib/openecomp-zusammen-lib/openecomp-zusammen-core/src/main/java/org/openecomp/core/zusammen/impl/ItemElementLoggerTargetServiceName.java

index 1a4466a..45981e7 100644 (file)
@@ -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;
+  }
 }