findbugs: Removed synchronization on concurrent object

This commit is contained in:
dev
2015-04-06 15:00:40 +00:00
parent 013c79bc45
commit e3103762b6

View File

@@ -595,12 +595,7 @@ class EstablishmentManager {
}
if (_outboundStates.size() < getMaxConcurrentEstablish() && !_queuedOutbound.isEmpty()) {
// in theory shouldn't need locking, but
// getting IllegalStateExceptions on old Java 5,
// which hoses this state.
synchronized(_queuedOutbound) {
locked_admitQueued();
}
locked_admitQueued();
}
//remaining = _queuedOutbound.size();