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