Commit 44817451 authored by Mathijs den Burger's avatar Mathijs den Burger

CMS7-16: use interface instead of implementation as field type

parent ed97f064
......@@ -16,6 +16,7 @@
package org.onehippo.cms7.services.autoreload;
import java.io.IOException;
import java.util.Queue;
import java.util.concurrent.ConcurrentLinkedQueue;
import javax.websocket.OnClose;
......@@ -38,7 +39,7 @@ public class AutoReloadServer {
private static final Logger log = LoggerFactory.getLogger(AutoReloadServer.class);
private static AutoReloadServer instance = null;
private final ConcurrentLinkedQueue<Session> sessions;
private final Queue<Session> sessions;
private AutoReloadServer() {
sessions = new ConcurrentLinkedQueue();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment