Sonar Fix: APPC-1716 75/95475/2
authorArundathi Patil <arundpil@in.ibm.com>
Wed, 11 Sep 2019 09:20:00 +0000 (14:50 +0530)
committerTakamune Cho <takamune.cho@att.com>
Tue, 17 Sep 2019 14:58:50 +0000 (14:58 +0000)
Fixed sonar issues across this file

Issue-ID: APPC-1716
Change-Id: Ic9d8d1c0ff22c9d0cc9831793d1e3550e5f62897
Signed-off-by: Arundathi Patil <arundpil@in.ibm.com>
appc-adapters/appc-iaas-adapter/appc-iaas-adapter-bundle/src/main/java/org/onap/appc/adapter/iaas/provider/operation/common/constants/Constants.java
appc-adapters/appc-iaas-adapter/appc-iaas-adapter-bundle/src/main/java/org/onap/appc/adapter/iaas/provider/operation/common/constants/Property.java

index 06065af..e44bf76 100644 (file)
@@ -5,6 +5,8 @@
  * Copyright (C) 2017-2018 AT&T Intellectual Property. All rights reserved.
  * ================================================================================
  * Copyright (C) 2017 Amdocs
+ * ================================================================================
+ * Modification Copyright (C) 2019 IBM
  * =============================================================================
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
@@ -28,9 +30,6 @@ package org.onap.appc.adapter.iaas.provider.operation.common.constants;
  */
 public class Constants {
 
-    private Constants() {
-    }
-
     public static final String DATE_FORMAT = "yyyy-MM-dd HH:mm:ss";
 
     public static final String MDC_SERVICE = "service";
@@ -60,4 +59,7 @@ public class Constants {
      * The constant for a space
      */
     public static final char SPACE = ' ';
+
+    private Constants() {
+    }
 }
index d60906b..161b403 100644 (file)
@@ -5,6 +5,8 @@
  * Copyright (C) 2017-2018 AT&T Intellectual Property. All rights reserved.
  * ================================================================================
  * Copyright (C) 2017 Amdocs
+ * ================================================================================
+ * Modification Copyright (C) 2019 IBM
  * =============================================================================
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
@@ -28,8 +30,6 @@ package org.onap.appc.adapter.iaas.provider.operation.common.constants;
  */
 public class Property {
 
-    private Property() {
-    }
     public static final String PROVIDER = "provider";
     public static final String PROVIDER_IDENTITY = "identity";
     public static final String PROVIDER_TENANT = "tenant";
@@ -41,4 +41,7 @@ public class Property {
     public static final String SKIP_HYPERVISOR_CHECK = "org.onap.appc.iaas.skiphypervisorcheck";
     public static final String PAYLOAD = "org.onap.appc.payload";
 
+    private Property() {
+    }
+
 }