move constructor call after variable declaration 21/85821/1
authorSindhuri.A <arcot.sindhuri@huawei.com>
Fri, 19 Apr 2019 14:54:48 +0000 (20:24 +0530)
committerSindhuri.A <arcot.sindhuri@huawei.com>
Fri, 19 Apr 2019 14:54:48 +0000 (20:24 +0530)
move constructor call after variable declaration HeatBridgeConstants

Issue-ID: SO-1490

Change-Id: I568c4c724b2d80a3d14bbb9765a7dba0f37b780d
Signed-off-by: Sindhuri.A <arcot.sindhuri@huawei.com>
adapters/mso-openstack-adapters/src/main/java/org/onap/so/heatbridge/constants/HeatBridgeConstants.java

index dd64d53..933b42e 100644 (file)
@@ -14,10 +14,6 @@ package org.onap.so.heatbridge.constants;
 
 public class HeatBridgeConstants {
 
-    private HeatBridgeConstants() {
-        throw new IllegalStateException("Trying to instantiate a constants class.");
-    }
-
     /**
      * Openstack related constants
      */
@@ -70,4 +66,9 @@ public class HeatBridgeConstants {
     public static final String KEY_MSO_REQUEST_ID = "msoRequestId";
     public static final String KEY_SO_WORKFLOW_EXCEPTION = "WorkflowException";
     public static final String KEY_PROCESS_STATUS_MSG = "processStatusMsg";
+
+    private HeatBridgeConstants() {
+        throw new IllegalStateException("Trying to instantiate a constants class.");
+    }
+
 }