From d23a8d83d67ab59dee405b29ddbc6dce6fd3c71b Mon Sep 17 00:00:00 2001 From: Jim Hahn Date: Thu, 17 Jun 2021 13:02:08 -0400 Subject: Use lombok in policy-common utils Issue-ID: POLICY-3394 Change-Id: I42a18c115c3ca7110f37fc0ae8aeea3f2bbffb37 Signed-off-by: Jim Hahn --- .../src/main/java/org/onap/policy/common/im/StateManagement.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'integrity-monitor') 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 9ee095fb..b68373ba 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 @@ -530,7 +530,7 @@ public class StateManagement { @Override public void commit() { synchronized (FLUSHLOCK) { - if (getTransation().isActive()) { + if (getTransaction().isActive()) { super.commit(); } } @@ -539,7 +539,7 @@ public class StateManagement { @Override public void rollback() { synchronized (FLUSHLOCK) { - if (getTransation().isActive()) { + if (getTransaction().isActive()) { super.rollback(); } } -- cgit 1.2.3-korg