diff options
author | Christopher Baines <cbaines8@gmail.com> | 2011-09-30 20:19:56 +0100 |
---|---|---|
committer | Christopher Baines <cbaines8@gmail.com> | 2011-09-30 20:19:56 +0100 |
commit | 235298571505c669b0e7c976478e74ddbf804700 (patch) | |
tree | bd2a6ab22f9f94ccf3f1d763be452b1c84a98a84 | |
parent | 12cc670262dfc7162352e1d03c56fe8ae0789ea4 (diff) | |
download | punchingbag-235298571505c669b0e7c976478e74ddbf804700.tar punchingbag-235298571505c669b0e7c976478e74ddbf804700.tar.gz |
Just storing changes for the new preferences system.
-rw-r--r-- | PunchingBag/src/uk/ac/open/punchingbag/PunchingBag.java | 10 |
1 files 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."); |