summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSeshu Kumar M <seshu.kumar.m@huawei.com>2018-03-09 06:03:03 +0000
committerGerrit Code Review <gerrit@onap.org>2018-03-09 06:03:03 +0000
commit233b1d9e9164b1005ef2d476fe0e156535e2379d (patch)
tree9d7392cb3b1785a92f8ae5c1e562c6675d7c9731
parentdee036198ee09d71bfdd50247c1d23a7f472df87 (diff)
parent27900a911085b4a2c1ae0b6e3ef88c5f54979e04 (diff)
Merge "Sonar:Critical"
-rw-r--r--adapters/mso-adapter-utils/src/main/java/org/openecomp/mso/cloud/CloudConfigFactory.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/adapters/mso-adapter-utils/src/main/java/org/openecomp/mso/cloud/CloudConfigFactory.java b/adapters/mso-adapter-utils/src/main/java/org/openecomp/mso/cloud/CloudConfigFactory.java
index 2d6d0271f8..445c135dab 100644
--- a/adapters/mso-adapter-utils/src/main/java/org/openecomp/mso/cloud/CloudConfigFactory.java
+++ b/adapters/mso-adapter-utils/src/main/java/org/openecomp/mso/cloud/CloudConfigFactory.java
@@ -127,7 +127,7 @@ public class CloudConfigFactory implements Serializable {
* @return true if Properties have been reloaded, false otherwise
*/
@Schedule(minute = "*/1", hour = "*", persistent = false)
- public void reloadCloudConfig () {
+ public static void reloadCloudConfig () {
try {
if (!rwl.writeLock ().tryLock () && !rwl.writeLock ().tryLock (30L, TimeUnit.SECONDS)) {