Fix Sonar violations - Validator 01/27101/2
authorAbhai Singh <Abhai.Singh@amdocs.com>
Thu, 28 Dec 2017 13:01:52 +0000 (18:31 +0530)
committerVitaly Emporopulo <Vitaliy.Emporopulo@amdocs.com>
Sun, 31 Dec 2017 09:33:59 +0000 (09:33 +0000)
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 <Abhai.Singh@amdocs.com>
openecomp-be/lib/openecomp-sdc-validation-lib/openecomp-sdc-validation-sdk/src/main/java/org/openecomp/sdc/validation/Validator.java

index d779835..3ed7e74 100644 (file)
@@ -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<String, Object> properties){ return; }
+  default void init(Map<String, Object> properties){ }
 }