From e782559f9b21f9aff32b583bc7ab94bc7d73bca2 Mon Sep 17 00:00:00 2001 From: =?utf8?q?David=20=E2=80=98Bombe=E2=80=99=20Roden?= Date: Sat, 23 May 2009 15:45:16 +0200 Subject: [PATCH] Call loadConfig() on start(). --- src/net/pterodactylus/jsite/core/CoreImpl.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 */ -- 2.7.4