mirror of https://github.com/apache/druid.git
added missing synchronized keyword (#4894)
* added missing synchronized keyword * added missing synchronized keyword
This commit is contained in:
parent
c19cd23e94
commit
bba96f59f8
|
@ -79,7 +79,7 @@ public class SynchronizedUnion implements Union
|
|||
}
|
||||
|
||||
@Override
|
||||
public void update(char[] chars)
|
||||
public synchronized void update(char[] chars)
|
||||
{
|
||||
delegate.update(chars);
|
||||
}
|
||||
|
@ -115,7 +115,7 @@ public class SynchronizedUnion implements Union
|
|||
}
|
||||
|
||||
@Override
|
||||
public boolean isSameResource(Memory mem)
|
||||
public synchronized boolean isSameResource(Memory mem)
|
||||
{
|
||||
return delegate.isSameResource(mem);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue