Code Review
/
controller.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Merge "Remove raw references to Map in XSQL"
[controller.git]
/
opendaylight
/
config
/
config-manager
/
src
/
main
/
java
/
org
/
opendaylight
/
controller
/
config
/
manager
/
impl
/
TransactionStatus.java
diff --git
a/opendaylight/config/config-manager/src/main/java/org/opendaylight/controller/config/manager/impl/TransactionStatus.java
b/opendaylight/config/config-manager/src/main/java/org/opendaylight/controller/config/manager/impl/TransactionStatus.java
index a25062074b8384837a46924d77dc0badc4a03eac..f86d6b1d818715481f601a4e366240aae2e5d4a5 100644
(file)
--- a/
opendaylight/config/config-manager/src/main/java/org/opendaylight/controller/config/manager/impl/TransactionStatus.java
+++ b/
opendaylight/config/config-manager/src/main/java/org/opendaylight/controller/config/manager/impl/TransactionStatus.java
@@
-48,18
+48,21
@@
public class TransactionStatus {
}
public synchronized void checkNotCommitStarted() {
}
public synchronized void checkNotCommitStarted() {
- if (secondPhaseCommitStarted == true)
+ if (secondPhaseCommitStarted == true)
{
throw new IllegalStateException("Commit was triggered");
throw new IllegalStateException("Commit was triggered");
+ }
}
public synchronized void checkCommitStarted() {
}
public synchronized void checkCommitStarted() {
- if (secondPhaseCommitStarted == false)
+ if (secondPhaseCommitStarted == false)
{
throw new IllegalStateException("Commit was not triggered");
throw new IllegalStateException("Commit was not triggered");
+ }
}
public synchronized void checkNotAborted() {
}
public synchronized void checkNotAborted() {
- if (aborted == true)
+ if (aborted == true)
{
throw new IllegalStateException("Configuration was aborted");
throw new IllegalStateException("Configuration was aborted");
+ }
}
public synchronized void checkNotCommitted() {
}
public synchronized void checkNotCommitted() {