Don’t expose internal thread pool.
[jSite2.git] / src / net / pterodactylus / jsite / core / CoreImpl.java
index bc62a0b..6787cef 100644 (file)
@@ -43,6 +43,7 @@ public class CoreImpl implements Core, NodeListener, RequestListener, InsertList
        private final CoreListenerSupport coreListenerSupport = new CoreListenerSupport();
 
        /** Thread pool. */
+       @SuppressWarnings("unused")
        private Executor threadPool = Executors.newCachedThreadPool();
 
        /** The project manager. */
@@ -84,13 +85,6 @@ public class CoreImpl implements Core, NodeListener, RequestListener, InsertList
        //
 
        /**
-        * {@inheritDoc}
-        */
-       public Executor getThreadPool() {
-               return threadPool;
-       }
-
-       /**
         * Returns the project manager.
         *
         * @return The project manager