diff options
author | Jorge Hernandez <jorge.hernandez-herrero@att.com> | 2022-11-01 15:04:04 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2022-11-01 15:04:04 +0000 |
commit | 5be2df3855508a6ed3fcae2c6cf0dd8170148d72 (patch) | |
tree | 21ea825c40d40b97ed45e068312820e4858fddea | |
parent | 6c53c10a3da48542a6e1fa0b368c45207714a077 (diff) | |
parent | 32cbb83fdb7eece88a458585829119d1663994ab (diff) |
Merge "Remove lombok public access in locking getters"
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; /** |