Declare methods private and remove redundant comment.
@@ -50,9 +50,6 @@ public class Server implements Runnable {
private final boolean isInitialized;
- /**
- * Server constructor
- */
private Server() {
dispatch = new LogDispatcher();
dispatch.setBatchedMode(true);
@@ -75,7 +72,7 @@ public class Server implements Runnable {
return ht;
}
- public void registerPluginLoader(PluginLoader loader) {
+ private void registerPluginLoader(PluginLoader loader) {
loader.loadPlugins();
}
@@ -90,7 +87,7 @@ public class Server implements Runnable {
unregisterLogHandler(lh, threadName);
}
- public void unregisterLogHandler(LogHandler lh, String threadName) {
+ private void unregisterLogHandler(LogHandler lh, String threadName) {
HandlerThread ht = getHandlerThread(threadName);
ht.unregisterHandler(lh);
threadNameForHandler.remove(lh);
