Remove redundant synchronization on ServerConnection.disconnect
This commit is contained in:
parent
2c86592ecd
commit
5cff0b2171
@ -48,7 +48,7 @@ public class ServerConnection implements Server
|
|||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public synchronized void disconnect(BaseComponent... reason)
|
public void disconnect(BaseComponent... reason)
|
||||||
{
|
{
|
||||||
Preconditions.checkArgument( reason.length == 0, "Server cannot have disconnect reason" );
|
Preconditions.checkArgument( reason.length == 0, "Server cannot have disconnect reason" );
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user