summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJorge Hernandez <jorge.hernandez-herrero@att.com>2022-11-01 15:04:04 +0000
committerGerrit Code Review <gerrit@onap.org>2022-11-01 15:04:04 +0000
commit5be2df3855508a6ed3fcae2c6cf0dd8170148d72 (patch)
tree21ea825c40d40b97ed45e068312820e4858fddea
parent6c53c10a3da48542a6e1fa0b368c45207714a077 (diff)
parent32cbb83fdb7eece88a458585829119d1663994ab (diff)
Merge "Remove lombok public access in locking getters"
-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;
/**