From: shrikantawachar Date: Thu, 4 Jan 2018 14:01:29 +0000 (+0530) Subject: Fixing sonar qube issues X-Git-Tag: v1.2.0~483 X-Git-Url: https://gerrit.onap.org/r/gitweb?a=commitdiff_plain;h=refs%2Fchanges%2F11%2F27411%2F2;p=sdc.git Fixing sonar qube issues Fixed major issues and updated license header in EchoMapMapping.java. Change-Id: I9d50522466c2e4ea9e723488deb3a9da4cc98b2c Issue-ID: SDC-343 Signed-off-by: shrikantawachar --- diff --git a/openecomp-be/api/openecomp-sdc-rest-webapp/openecomp-sdc-common-rest/src/main/java/org/openecomp/sdcrests/mapping/EchoMapMapping.java b/openecomp-be/api/openecomp-sdc-rest-webapp/openecomp-sdc-common-rest/src/main/java/org/openecomp/sdcrests/mapping/EchoMapMapping.java index 81c2f37a66..0d394eb9aa 100644 --- a/openecomp-be/api/openecomp-sdc-rest-webapp/openecomp-sdc-common-rest/src/main/java/org/openecomp/sdcrests/mapping/EchoMapMapping.java +++ b/openecomp-be/api/openecomp-sdc-rest-webapp/openecomp-sdc-common-rest/src/main/java/org/openecomp/sdcrests/mapping/EchoMapMapping.java @@ -1,14 +1,30 @@ +/* + * 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. + */ + package org.openecomp.sdcrests.mapping; -import java.util.HashMap; +import java.util.Map; -/** +/* * Created by ayalaben on 9/12/2017 */ -public class EchoMapMapping extends MappingBase,HashMap> { +public class EchoMapMapping extends MappingBase, Map> { @Override -public void doMapping(HashMap source, HashMap target) { + public void doMapping(Map source, Map target) { target.putAll(source); - } + } }