diff options
author | 2022-10-31 11:39:23 -0500 | |
---|---|---|
committer | 2022-11-01 15:04:17 +0000 | |
commit | ae6e9e9f45b684e82ac3834685860815a0202540 (patch) | |
tree | 9addb2c12c430c6e3b767584e9cab0509ef256e3 | |
parent | 30ed354515ff27104d3e77109eb6881270aeb1fd (diff) |
Remove lombok public access in locking getters
Issue-ID: POLICY-4428
Signed-off-by: jhh <jorge.hernandez-herrero@att.com>
Change-Id: I3c0be2c6e5ad4b723424f20eb39acb654605b235
(cherry picked from commit 32cbb83fdb7eece88a458585829119d1663994ab)
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; /** |