Remove redundant synchronization on ServerConnection.disconnect

This commit is contained in:
md_5 2016-01-16 12:33:42 +11:00
parent 2c86592ecd
commit 5cff0b2171

View File

@ -48,7 +48,7 @@ public class ServerConnection implements Server
}
@Override
public synchronized void disconnect(BaseComponent... reason)
public void disconnect(BaseComponent... reason)
{
Preconditions.checkArgument( reason.length == 0, "Server cannot have disconnect reason" );