summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjhh <jorge.hernandez-herrero@att.com>2022-10-31 11:39:23 -0500
committerjhh <jorge.hernandez-herrero@att.com>2022-10-31 11:39:23 -0500
commit32cbb83fdb7eece88a458585829119d1663994ab (patch)
tree8fc0da0a8193e8769460992119dce76cfa98de28
parent6652164b384221018bf605b1d5fb809425b26a8e (diff)
Remove lombok public access in locking getters
Issue-ID: POLICY-4428 Signed-off-by: jhh <jorge.hernandez-herrero@att.com> Change-Id: I3c0be2c6e5ad4b723424f20eb39acb654605b235
-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;
/**