summaryrefslogtreecommitdiff
path: root/sources/prefs/VSPrefs.java
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2008-06-14 01:11:32 +0000
committerPaul Buetow <paul@buetow.org>2008-06-14 01:11:32 +0000
commitfaaadb9c546e376dd8e8dd6553017d334aa0e0c4 (patch)
treed72554c8e819b6e860ff3a046bd7e31c6ee4107f /sources/prefs/VSPrefs.java
parent044b410cde94862687b05f3b820676a65b1ea9d7 (diff)
foo
Diffstat (limited to 'sources/prefs/VSPrefs.java')
-rw-r--r--sources/prefs/VSPrefs.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/sources/prefs/VSPrefs.java b/sources/prefs/VSPrefs.java
index b6b8f42..413bc46 100644
--- a/sources/prefs/VSPrefs.java
+++ b/sources/prefs/VSPrefs.java
@@ -153,7 +153,7 @@ public class VSPrefs implements VSSerializable {
* @param unit the unit
*/
public synchronized void initUnit(String key, String unit) {
- if (unit == null || units.containsKey(key))
+ if (unit == null /*|| units.containsKey(key)*/)
return;
units.put(key, unit);
}
@@ -166,7 +166,7 @@ public class VSPrefs implements VSSerializable {
* @param descr the descr
*/
public synchronized void initDescription(String key, String descr) {
- if (descr == null || descriptionPrefs.containsKey(key))
+ if (descr == null /*|| descriptionPrefs.containsKey(key)*/)
return;
descriptionPrefs.put(key, descr);
}
@@ -884,7 +884,7 @@ public class VSPrefs implements VSSerializable {
* @param val the val
*/
public synchronized void initString(String key, String val) {
- if (!stringPrefs.containsKey(key))
+ //if (!stringPrefs.containsKey(key))
stringPrefs.put(key, val);
}