1
0
mirror of synced 2026-08-01 15:57:05 +00:00

SEC-543: Moved logging out of synchronized block

This commit is contained in:
Luke Taylor
2008-01-29 16:04:49 +00:00
parent 9fe181046b
commit 379b7ab337
@@ -161,11 +161,11 @@ public class SessionRegistryImpl implements SessionRegistry, ApplicationListener
return;
}
if (logger.isDebugEnabled()) {
logger.debug("Removing session " + sessionId + " from principal's set of registered sessions");
}
synchronized (sessionsUsedByPrincipal) {
if (logger.isDebugEnabled()) {
logger.debug("Removing session " + sessionId + " from principal's set of registered sessions");
}
sessionsUsedByPrincipal.remove(sessionId);
if (sessionsUsedByPrincipal.size() == 0) {