From 9c2ddb793a7ff39346b71a38fd2d7d7549e6d1f6 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:28 +0200 Subject: [PATCH] Call saveConfig() on stop(). --- 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 c61aa74..aded44f 100644 --- a/src/net/pterodactylus/jsite/core/CoreImpl.java +++ b/src/net/pterodactylus/jsite/core/CoreImpl.java @@ -165,6 +165,7 @@ public class CoreImpl implements Core, NodeListener { */ public void stop() { logger.log(Level.INFO, "stopping core…"); + saveConfig(); try { projectManager.save(); coreListenerSupport.fireSavingProjectsDone(projectManager.getDirectory()); @@ -262,7 +263,6 @@ public class CoreImpl implements Core, NodeListener { /** * Saves the configuration. */ - @SuppressWarnings("unused") private void saveConfig() { logger.log(Level.FINEST, "saveConfig()"); /* TODO */ -- 2.7.4