From 7a7614805c3155ba818645c803e386b07b3d7c0e Mon Sep 17 00:00:00 2001 From: shrikantawachar Date: Thu, 4 Jan 2018 19:31:29 +0530 Subject: 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 --- .../openecomp/sdcrests/mapping/EchoMapMapping.java | 26 +++++++++++++++++----- 1 file changed, 21 insertions(+), 5 deletions(-) (limited to 'openecomp-be/api/openecomp-sdc-rest-webapp/openecomp-sdc-common-rest/src/main/java') 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); - } + } } -- cgit 1.2.3-korg