Fixing sonar qube issues 97/27397/3
authorshrikantawachar <shrikant.awachar@amdocs.com>
Thu, 4 Jan 2018 13:11:55 +0000 (18:41 +0530)
committerVitaly Emporopulo <Vitaliy.Emporopulo@amdocs.com>
Thu, 4 Jan 2018 15:59:06 +0000 (15:59 +0000)
Fixed major issue in StringWrapperResponse file , updated license header.

Change-Id: Iba74d0398caa60c12914f42d5c3f09fe95c3f109
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/wrappers/StringWrapperResponse.java

index d472eb9..aad4e60 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.wrappers;
@@ -24,6 +20,8 @@ public class StringWrapperResponse {
   private String value;
 
   public StringWrapperResponse() {
+    // defualt ctor is used by reflection, for instance JSON mapping
+    super(); 
   }
 
   public StringWrapperResponse(String value) {