Fixing sonar qube issues 99/27399/2
authorshrikantawachar <shrikant.awachar@amdocs.com>
Thu, 4 Jan 2018 13:15:40 +0000 (18:45 +0530)
committerVitaly Emporopulo <Vitaliy.Emporopulo@amdocs.com>
Thu, 4 Jan 2018 15:58:58 +0000 (15:58 +0000)
Fixed major issue and updated license header in RestConstants file.

Change-Id: Ia842bd5728068c769e810475cf1b1dab8e3f12e4
Issue-ID: SDC-343
Signed-off-by: shrikantawachar <shrikant.awachar@amdocs.com>
openecomp-be/api/openecomp-sdc-rest-webapp/openecomp-sdc-common-rest/src/main/java/org/openecomp/sdcrests/common/RestConstants.java

index 302af10..230d161 100644 (file)
@@ -1,21 +1,17 @@
-/*-
- * ============LICENSE_START=======================================================
- * SDC
- * ================================================================================
- * Copyright (C) 2017 AT&T Intellectual Property. All rights reserved.
- * ================================================================================
+/*
+ * 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.
- * ============LICENSE_END=========================================================
  */
 
 package org.openecomp.sdcrests.common;
@@ -29,4 +25,8 @@ public class RestConstants {
 
   public static final String INVALID_JSON_ERROR_MESSAGE =
       "Field does not conform to predefined criteria : body :must be in JSON format";
+
+  private RestConstants() {
+
+  }
 }