Removed unnecessary synchronization.

This commit is contained in:
Simone Bordet 2014-02-20 15:43:44 +01:00
parent 15952aeee4
commit c3c4d059a6
1 changed files with 1 additions and 1 deletions

View File

@ -239,7 +239,7 @@ public class Parser
incomingFramesHandler.incomingError(e); incomingFramesHandler.incomingError(e);
} }
public synchronized void parse(ByteBuffer buffer) public void parse(ByteBuffer buffer)
{ {
if (buffer.remaining() <= 0) if (buffer.remaining() <= 0)
{ {