From 235298571505c669b0e7c976478e74ddbf804700 Mon Sep 17 00:00:00 2001 From: Christopher Baines Date: Fri, 30 Sep 2011 20:19:56 +0100 Subject: Just storing changes for the new preferences system. --- PunchingBag/src/uk/ac/open/punchingbag/PunchingBag.java | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/PunchingBag/src/uk/ac/open/punchingbag/PunchingBag.java b/PunchingBag/src/uk/ac/open/punchingbag/PunchingBag.java index 4861ad9..e4e0c5e 100644 --- a/PunchingBag/src/uk/ac/open/punchingbag/PunchingBag.java +++ b/PunchingBag/src/uk/ac/open/punchingbag/PunchingBag.java @@ -186,12 +186,12 @@ public class PunchingBag implements Runnable { if (configDir.exists()) { if (configDir.isDirectory()) { if (configDir.canRead()) { - try { - preferences.load(this.getClass().getClassLoader().getResourceAsStream(configDir)); - } catch (IOException e) { + //try { + //preferences.load(this.getClass().getClassLoader().getResourceAsStream(configDir)); + //} catch (IOException e) { // TODO Auto-generated catch block - e.printStackTrace(); - } + //e.printStackTrace(); + //} } else { System.err.println("The config directrory (" + configDir + ") exists but cant be read by this application, falling back to hard coded values."); -- cgit v1.2.3