Removed unnecessary synchronization.
This commit is contained in:
parent
15952aeee4
commit
c3c4d059a6
|
@ -239,7 +239,7 @@ public class Parser
|
|||
incomingFramesHandler.incomingError(e);
|
||||
}
|
||||
|
||||
public synchronized void parse(ByteBuffer buffer)
|
||||
public void parse(ByteBuffer buffer)
|
||||
{
|
||||
if (buffer.remaining() <= 0)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue