diff -r c404a87db5b7 -r 74139325d305 src/org/sonews/config/CommandLineConfig.java --- a/src/org/sonews/config/CommandLineConfig.java Sun Aug 29 17:43:58 2010 +0200 +++ b/src/org/sonews/config/CommandLineConfig.java Sun Aug 29 18:17:37 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); + } + } }