Add missing @Override

This commit is contained in:
Vedran Pavic
2017-10-27 08:33:45 +02:00
parent 5df555cd53
commit f8583bb02f
49 changed files with 273 additions and 0 deletions

View File

@@ -28,6 +28,7 @@ public class SessionEventRegistry implements ApplicationListener<AbstractSession
private Map<String, AbstractSessionEvent> events = new HashMap<>();
private ConcurrentMap<String, Object> locks = new ConcurrentHashMap<>();
@Override
public void onApplicationEvent(AbstractSessionEvent event) {
String sessionId = event.getSessionId();
this.events.put(sessionId, event);

View File

@@ -94,6 +94,7 @@ public class EnableRedisHttpSessionExpireSessionDestroyedTests<S extends Session
private boolean receivedEvent;
private Object lock;
@Override
public void onApplicationEvent(SessionExpiredEvent event) {
synchronized (this.lock) {
this.receivedEvent = true;

View File

@@ -75,6 +75,7 @@ public class RedisListenerContainerTaskExecutorITests extends AbstractRedisITest
this.executor = executor;
}
@Override
public void execute(Runnable task) {
synchronized (this.lock) {
try {