diff options
Diffstat (limited to 'integrity-monitor/src/main/java')
-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; } |