Skip to content

Commit

Permalink
ARQ-1910 Add synchronized to Test Recorder to avoid override when mul…
Browse files Browse the repository at this point in the history
…ti threaded
  • Loading branch information
aslakknutsen committed Feb 11, 2015
1 parent be61ca9 commit 792137b
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -199,7 +199,7 @@ public static class EventRegisterObserver
private InstanceProducer<EventRegister> register;

@SuppressWarnings("unchecked")
public void register(@Observes Object event)
public synchronized void register(@Observes Object event)
{
if(register.get() == null)
{
Expand Down

0 comments on commit 792137b

Please sign in to comment.