diff -r ed84c8bdd87b -r 73b21e9f3958 src/org/sonews/config/CommandLineConfig.java --- a/src/org/sonews/config/CommandLineConfig.java Sun Aug 29 17:28:58 2010 +0200 +++ b/src/org/sonews/config/CommandLineConfig.java Mon Aug 30 00:20:06 2010 +0200 @@ -28,37 +28,34 @@ class CommandLineConfig extends AbstractConfig { - private static final CommandLineConfig instance = new CommandLineConfig(); + private static final CommandLineConfig instance = new CommandLineConfig(); - public static CommandLineConfig getInstance() - { - return instance; - } + public static CommandLineConfig getInstance() + { + return instance; + } + private final Map values = new HashMap(); - private final Map values = new HashMap(); - - private CommandLineConfig() {} + private CommandLineConfig() + { + } - @Override - public String get(String key, String def) - { - synchronized(this.values) - { - if(this.values.containsKey(key)) - { - def = this.values.get(key); - } - } - return def; - } + @Override + public String get(String key, String def) + { + synchronized (this.values) { + if (this.values.containsKey(key)) { + def = this.values.get(key); + } + } + return def; + } - @Override - public void set(String key, String val) - { - synchronized(this.values) - { - this.values.put(key, val); - } - } - + @Override + public void set(String key, String val) + { + synchronized (this.values) { + this.values.put(key, val); + } + } }