From 3cf66a1b795042ade82a8c9cb2b4df978bc6485d Mon Sep 17 00:00:00 2001 From: Ruslan Kashapov Date: Thu, 28 Jan 2021 08:20:49 +0200 Subject: Fix sonar false-positive code smells issues (licence below package line) Issue-ID: CPS-89 Change-Id: I79d520c237b5ca6cf0250d1a001fc1406013bd14 Signed-off-by: Ruslan Kashapov --- .../java/org/onap/cps/api/impl/YangTextSchemaSourceSetCache.java | 5 +++-- cps-service/src/main/java/org/onap/cps/config/CacheConfig.java | 6 +++--- 2 files changed, 6 insertions(+), 5 deletions(-) (limited to 'cps-service') diff --git a/cps-service/src/main/java/org/onap/cps/api/impl/YangTextSchemaSourceSetCache.java b/cps-service/src/main/java/org/onap/cps/api/impl/YangTextSchemaSourceSetCache.java index af16727f19..859dab9a9f 100644 --- a/cps-service/src/main/java/org/onap/cps/api/impl/YangTextSchemaSourceSetCache.java +++ b/cps-service/src/main/java/org/onap/cps/api/impl/YangTextSchemaSourceSetCache.java @@ -1,7 +1,6 @@ -package org.onap.cps.api.impl; /* * ============LICENSE_START======================================================= - * Copyright (C) 2020 Pantheon.tech + * Copyright (C) 2021 Pantheon.tech * ================================================================================ * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -18,6 +17,8 @@ package org.onap.cps.api.impl; * ============LICENSE_END========================================================= */ +package org.onap.cps.api.impl; + import com.google.errorprone.annotations.CanIgnoreReturnValue; import java.util.Map; import org.onap.cps.spi.CpsModulePersistenceService; diff --git a/cps-service/src/main/java/org/onap/cps/config/CacheConfig.java b/cps-service/src/main/java/org/onap/cps/config/CacheConfig.java index 4441e4f2a1..897c0bf597 100644 --- a/cps-service/src/main/java/org/onap/cps/config/CacheConfig.java +++ b/cps-service/src/main/java/org/onap/cps/config/CacheConfig.java @@ -1,8 +1,6 @@ -package org.onap.cps.config; - /* * ============LICENSE_START======================================================= - * Copyright (C) 2020 Pantheon.tech + * Copyright (C) 2021 Pantheon.tech * ================================================================================ * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -19,6 +17,8 @@ package org.onap.cps.config; * ============LICENSE_END========================================================= */ +package org.onap.cps.config; + import org.springframework.cache.annotation.EnableCaching; import org.springframework.context.annotation.Configuration; -- cgit 1.2.3-korg