From 164625d6ff8c40ae499e2edd7983f073c1c5462b Mon Sep 17 00:00:00 2001 From: shrikantawachar Date: Thu, 4 Jan 2018 18:41:55 +0530 Subject: Fixing sonar qube issues Fixed major issue in StringWrapperResponse file , updated license header. Change-Id: Iba74d0398caa60c12914f42d5c3f09fe95c3f109 Issue-ID: SDC-343 Signed-off-by: shrikantawachar --- .../sdcrests/wrappers/StringWrapperResponse.java | 16 +++++++--------- 1 file changed, 7 insertions(+), 9 deletions(-) (limited to 'openecomp-be/api/openecomp-sdc-rest-webapp/openecomp-sdc-common-rest') diff --git a/openecomp-be/api/openecomp-sdc-rest-webapp/openecomp-sdc-common-rest/src/main/java/org/openecomp/sdcrests/wrappers/StringWrapperResponse.java b/openecomp-be/api/openecomp-sdc-rest-webapp/openecomp-sdc-common-rest/src/main/java/org/openecomp/sdcrests/wrappers/StringWrapperResponse.java index d472eb9d14..aad4e606de 100644 --- a/openecomp-be/api/openecomp-sdc-rest-webapp/openecomp-sdc-common-rest/src/main/java/org/openecomp/sdcrests/wrappers/StringWrapperResponse.java +++ b/openecomp-be/api/openecomp-sdc-rest-webapp/openecomp-sdc-common-rest/src/main/java/org/openecomp/sdcrests/wrappers/StringWrapperResponse.java @@ -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) { -- cgit 1.2.3-korg