summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--feature-distributed-locking/src/main/java/org/onap/policy/distributed/locking/DistributedLockManager.java4
-rw-r--r--policy-management/src/main/java/org/onap/policy/drools/system/PolicyEngineManager.java12
2 files changed, 8 insertions, 8 deletions
diff --git a/feature-distributed-locking/src/main/java/org/onap/policy/distributed/locking/DistributedLockManager.java b/feature-distributed-locking/src/main/java/org/onap/policy/distributed/locking/DistributedLockManager.java
index 198b3303..d7f857eb 100644
--- a/feature-distributed-locking/src/main/java/org/onap/policy/distributed/locking/DistributedLockManager.java
+++ b/feature-distributed-locking/src/main/java/org/onap/policy/distributed/locking/DistributedLockManager.java
@@ -90,13 +90,13 @@ public class DistributedLockManager extends LockManager<DistributedLockManager.D
/**
* Name of the host on which this JVM is running.
*/
- @Getter(AccessLevel.PUBLIC)
+ @Getter
private String pdpName;
/**
* UUID of this object.
*/
- @Getter(AccessLevel.PUBLIC)
+ @Getter
private final String uuidString = UUID.randomUUID().toString();
/**
diff --git a/policy-management/src/main/java/org/onap/policy/drools/system/PolicyEngineManager.java b/policy-management/src/main/java/org/onap/policy/drools/system/PolicyEngineManager.java
index 19aec79a..43ab5e47 100644
--- a/policy-management/src/main/java/org/onap/policy/drools/system/PolicyEngineManager.java
+++ b/policy-management/src/main/java/org/onap/policy/drools/system/PolicyEngineManager.java
@@ -176,16 +176,16 @@ class PolicyEngineManager implements PolicyEngine {
@Getter
private final PolicyStatsManager stats = new PolicyStatsManager();
- @Getter(onMethod_ = {@Synchronized}, value = AccessLevel.PUBLIC)
- @Setter(onMethod_ = {@Synchronized}, value = AccessLevel.PUBLIC)
+ @Getter(onMethod_ = {@Synchronized})
+ @Setter(onMethod_ = {@Synchronized})
private String clusterName = UUID.randomUUID().toString();
- @Getter(onMethod_ = {@Synchronized}, value = AccessLevel.PUBLIC)
- @Setter(onMethod_ = {@Synchronized}, value = AccessLevel.PUBLIC)
+ @Getter(onMethod_ = {@Synchronized})
+ @Setter(onMethod_ = {@Synchronized})
private String hostName = NetworkUtil.getHostname();
- @Getter(onMethod_ = {@Synchronized}, value = AccessLevel.PUBLIC)
- @Setter(onMethod_ = {@Synchronized}, value = AccessLevel.PUBLIC)
+ @Getter(onMethod_ = {@Synchronized})
+ @Setter(onMethod_ = {@Synchronized})
private String pdpName;
/**