summaryrefslogtreecommitdiffstats
path: root/cps-service/src/main/java/org
diff options
context:
space:
mode:
authorRuslan Kashapov <ruslan.kashapov@pantheon.tech>2021-01-28 08:20:49 +0200
committerRuslan Kashapov <ruslan.kashapov@pantheon.tech>2021-01-28 08:23:31 +0200
commit3cf66a1b795042ade82a8c9cb2b4df978bc6485d (patch)
tree468cb331c6cf41d24c5f0cb309b8897c65dd39b5 /cps-service/src/main/java/org
parentb4164f104d61bcaff8d84d65b8a9fffcd3280dce (diff)
Fix sonar false-positive code smells issues (licence below package line)
Issue-ID: CPS-89 Change-Id: I79d520c237b5ca6cf0250d1a001fc1406013bd14 Signed-off-by: Ruslan Kashapov <ruslan.kashapov@pantheon.tech>
Diffstat (limited to 'cps-service/src/main/java/org')
-rw-r--r--cps-service/src/main/java/org/onap/cps/api/impl/YangTextSchemaSourceSetCache.java5
-rw-r--r--cps-service/src/main/java/org/onap/cps/config/CacheConfig.java6
2 files changed, 6 insertions, 5 deletions
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;