diff options
author | liamfallon <liam.fallon@est.tech> | 2020-06-18 13:49:01 +0100 |
---|---|---|
committer | liamfallon <liam.fallon@est.tech> | 2020-06-18 14:11:15 +0100 |
commit | 50d72892e98753fd012aff00c2d42979dce9653e (patch) | |
tree | 45c43f2a4d7a9bbdc2dda4dc0298dedee6afb1a6 /integrity-monitor/src/main | |
parent | 611f63a4bb71d677cf2665b1794e91148ba42a51 (diff) |
Changes for checkstyle 8.32
Issue-ID: POLICY-2188
Change-Id: I00843c61a6567001fc35c3ebb77b6843a1eb7da2
Signed-off-by: liamfallon <liam.fallon@est.tech>
Diffstat (limited to 'integrity-monitor/src/main')
-rw-r--r-- | integrity-monitor/src/main/java/org/onap/policy/common/im/IntegrityMonitor.java | 2 | ||||
-rw-r--r-- | integrity-monitor/src/main/java/org/onap/policy/common/im/StateManagement.java | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/integrity-monitor/src/main/java/org/onap/policy/common/im/IntegrityMonitor.java b/integrity-monitor/src/main/java/org/onap/policy/common/im/IntegrityMonitor.java index 33c51e21..62103925 100644 --- a/integrity-monitor/src/main/java/org/onap/policy/common/im/IntegrityMonitor.java +++ b/integrity-monitor/src/main/java/org/onap/policy/common/im/IntegrityMonitor.java @@ -359,7 +359,7 @@ public class IntegrityMonitor { // create instance of StateManagement class and pass emf to it stateManager = new StateManagement(emf, resourceName); - /** + /* * Initialize the state and status attributes. This will maintain any Administrative state value but will * set the operational state = enabled, availability status = null, standby status = null. The integrity * monitor will set the operational state via the FPManager and the owning application must set the standby diff --git a/integrity-monitor/src/main/java/org/onap/policy/common/im/StateManagement.java b/integrity-monitor/src/main/java/org/onap/policy/common/im/StateManagement.java index 65ebf2d2..feca72f9 100644 --- a/integrity-monitor/src/main/java/org/onap/policy/common/im/StateManagement.java +++ b/integrity-monitor/src/main/java/org/onap/policy/common/im/StateManagement.java @@ -147,7 +147,7 @@ public class StateManagement { * was updated, {@code null} if no change was made * @throws StateManagementException if an error occurs */ - private void setState(String methodName, String resourceName, ExFunction<StateManagementEntity,String> updateState) + private void setState(String methodName, String resourceName, ExFunction<StateManagementEntity, String> updateState) throws StateManagementException { synchronized (SYNCLOCK) { @@ -513,7 +513,7 @@ public class StateManagement { } @FunctionalInterface - private static interface ExFunction<T,R> { + private static interface ExFunction<T, R> { public R update(T object) throws IntegrityMonitorException; } |