From 9c01103536e3e4e8a39040b8458365607f82ee3a Mon Sep 17 00:00:00 2001 From: shrikantawachar Date: Wed, 27 Dec 2017 16:39:18 +0530 Subject: Fixing sonar qube issues Refactor code as per review comment. Change-Id: I5419848dd28e1c2276c995308dcdff55c624dd8b Issue-ID: SDC-343 Signed-off-by: shrikantawachar --- .../openecomp/sdcrests/validation/rest/Validation.java | 15 ++++++--------- 1 file changed, 6 insertions(+), 9 deletions(-) (limited to 'openecomp-be/api') diff --git a/openecomp-be/api/openecomp-sdc-rest-webapp/validation-rest/validation-rest-services/src/main/java/org/openecomp/sdcrests/validation/rest/Validation.java b/openecomp-be/api/openecomp-sdc-rest-webapp/validation-rest/validation-rest-services/src/main/java/org/openecomp/sdcrests/validation/rest/Validation.java index 349f0bdecf..80ed5607fb 100644 --- a/openecomp-be/api/openecomp-sdc-rest-webapp/validation-rest/validation-rest-services/src/main/java/org/openecomp/sdcrests/validation/rest/Validation.java +++ b/openecomp-be/api/openecomp-sdc-rest-webapp/validation-rest/validation-rest-services/src/main/java/org/openecomp/sdcrests/validation/rest/Validation.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.validation.rest; @@ -39,6 +35,7 @@ import java.io.InputStream; @Consumes(MediaType.APPLICATION_JSON) @Api(value = "Validation") @Validated + public interface Validation { -- cgit 1.2.3-korg