added missing synchronized keyword (#4894)

* added missing synchronized keyword

* added missing synchronized keyword
This commit is contained in:
Alexander Saydakov 2017-10-03 10:16:54 -07:00 committed by Himanshu
parent c19cd23e94
commit bba96f59f8
1 changed files with 2 additions and 2 deletions

View File

@ -79,7 +79,7 @@ public class SynchronizedUnion implements Union
} }
@Override @Override
public void update(char[] chars) public synchronized void update(char[] chars)
{ {
delegate.update(chars); delegate.update(chars);
} }
@ -115,7 +115,7 @@ public class SynchronizedUnion implements Union
} }
@Override @Override
public boolean isSameResource(Memory mem) public synchronized boolean isSameResource(Memory mem)
{ {
return delegate.isSameResource(mem); return delegate.isSameResource(mem);
} }