From 923fdf3868103ec83577a35702d688fd38272f2a Mon Sep 17 00:00:00 2001 From: Abhai Singh Date: Thu, 28 Dec 2017 18:31:52 +0530 Subject: Fix Sonar violations - Validator Fixed few reported sonar issues. One sonar issue is ignored as am not sure if this qualifies to be a functionalInterface Change-Id: I7b9f4faa4e8359c644f7473d7937c82357f576fd Issue-ID: SDC-343 Signed-off-by: Abhai Singh --- .../java/org/openecomp/sdc/validation/Validator.java | 18 +++++++----------- 1 file changed, 7 insertions(+), 11 deletions(-) (limited to 'openecomp-be/lib/openecomp-sdc-validation-lib/openecomp-sdc-validation-sdk') diff --git a/openecomp-be/lib/openecomp-sdc-validation-lib/openecomp-sdc-validation-sdk/src/main/java/org/openecomp/sdc/validation/Validator.java b/openecomp-be/lib/openecomp-sdc-validation-lib/openecomp-sdc-validation-sdk/src/main/java/org/openecomp/sdc/validation/Validator.java index d7798359fe..3ed7e74749 100644 --- a/openecomp-be/lib/openecomp-sdc-validation-lib/openecomp-sdc-validation-sdk/src/main/java/org/openecomp/sdc/validation/Validator.java +++ b/openecomp-be/lib/openecomp-sdc-validation-lib/openecomp-sdc-validation-sdk/src/main/java/org/openecomp/sdc/validation/Validator.java @@ -1,24 +1,20 @@ -/*- - * ============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.sdc.validation; +package org.openecomp.sdc.validation; import org.openecomp.core.validation.types.GlobalValidationContext; @@ -28,5 +24,5 @@ import java.util.Map; public interface Validator { void validate(GlobalValidationContext globalContext); - default void init(Map properties){ return; } + default void init(Map properties){ } } -- cgit 1.2.3-korg