Skip to content

Commit

Permalink
BZ-1056645 - Make HumanTask transaction interceptor thread safe
Browse files Browse the repository at this point in the history
  • Loading branch information
mswiderski committed Jan 27, 2014
1 parent 4417b50 commit dd4cfe0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Expand Up @@ -42,7 +42,7 @@ public TaskTransactionInterceptor(Environment environment) {
}

@Override
public <T> T execute(Command<T> command) {
public synchronized <T> T execute(Command<T> command) {
boolean transactionOwner = false;
T result = null;

Expand Down
Expand Up @@ -42,7 +42,7 @@ public TaskTransactionInterceptor(Environment environment) {
}

@Override
public <T> T execute(Command<T> command) {
public synchronized <T> T execute(Command<T> command) {
boolean transactionOwner = false;
T result = null;

Expand Down

0 comments on commit dd4cfe0

Please sign in to comment.