From: David ‘Bombe’ Roden Date: Sat, 23 May 2009 13:45:16 +0000 (+0200) Subject: Call loadConfig() on start(). X-Git-Url: https://git.pterodactylus.net/?a=commitdiff_plain;h=e782559f9b21f9aff32b583bc7ab94bc7d73bca2;p=jSite2.git Call loadConfig() on start(). --- diff --git a/src/net/pterodactylus/jsite/core/CoreImpl.java b/src/net/pterodactylus/jsite/core/CoreImpl.java index 2b795ed..c61aa74 100644 --- a/src/net/pterodactylus/jsite/core/CoreImpl.java +++ b/src/net/pterodactylus/jsite/core/CoreImpl.java @@ -144,6 +144,7 @@ public class CoreImpl implements Core, NodeListener { */ public void start() { logger.log(Level.INFO, "starting core…"); + loadConfig(); try { nodeManager.load(); coreListenerSupport.fireLoadingNodesDone(nodeManager.getDirectory()); @@ -253,7 +254,6 @@ public class CoreImpl implements Core, NodeListener { /** * Loads the configuration. */ - @SuppressWarnings("unused") private void loadConfig() { logger.log(Level.FINEST, "loadConfig()"); /* TODO */