summaryrefslogtreecommitdiffstats
path: root/integrity-monitor/src
diff options
context:
space:
mode:
authorJim Hahn <jrh3@att.com>2021-06-18 12:41:58 +0000
committerGerrit Code Review <gerrit@onap.org>2021-06-18 12:41:58 +0000
commit768d6c300ceba0b9b0325a8f1f2700aa374f57fe (patch)
tree85af4efa425928fb7f85f17c3d478dac0419bca4 /integrity-monitor/src
parent94e970a0df2c8a92af7945214e80a9d70e4c6372 (diff)
parentd23a8d83d67ab59dee405b29ddbc6dce6fd3c71b (diff)
Merge "Use lombok in policy-common utils"
Diffstat (limited to 'integrity-monitor/src')
-rw-r--r--integrity-monitor/src/main/java/org/onap/policy/common/im/StateManagement.java4
1 files changed, 2 insertions, 2 deletions
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();
}
}