aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristopher Baines <cbaines8@gmail.com>2011-09-30 20:19:56 +0100
committerChristopher Baines <cbaines8@gmail.com>2011-09-30 20:19:56 +0100
commit235298571505c669b0e7c976478e74ddbf804700 (patch)
treebd2a6ab22f9f94ccf3f1d763be452b1c84a98a84
parent12cc670262dfc7162352e1d03c56fe8ae0789ea4 (diff)
downloadpunchingbag-235298571505c669b0e7c976478e74ddbf804700.tar
punchingbag-235298571505c669b0e7c976478e74ddbf804700.tar.gz
Just storing changes for the new preferences system.
-rw-r--r--PunchingBag/src/uk/ac/open/punchingbag/PunchingBag.java10
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.");