diff -r 74139325d305 -r a788bf0e1080 src/org/sonews/config/CommandLineConfig.java
--- a/src/org/sonews/config/CommandLineConfig.java Sun Aug 29 18:17:37 2010 +0200
+++ b/src/org/sonews/config/CommandLineConfig.java Thu Oct 20 10:50:58 2011 +0200
@@ -15,7 +15,6 @@
* You should have received a copy of the GNU General Public License
* along with this program. If not, see .
*/
-
package org.sonews.config;
import java.util.Map;
@@ -25,24 +24,20 @@
*
* @author Christian Lins
*/
-class CommandLineConfig extends AbstractConfig
-{
+class CommandLineConfig extends AbstractConfig {
private static final CommandLineConfig instance = new CommandLineConfig();
- public static CommandLineConfig getInstance()
- {
+ public static CommandLineConfig getInstance() {
return instance;
}
private final Map values = new HashMap();
- private CommandLineConfig()
- {
+ private CommandLineConfig() {
}
@Override
- public String get(String key, String def)
- {
+ public String get(String key, String def) {
synchronized (this.values) {
if (this.values.containsKey(key)) {
def = this.values.get(key);
@@ -52,8 +47,7 @@
}
@Override
- public void set(String key, String val)
- {
+ public void set(String key, String val) {
synchronized (this.values) {
this.values.put(key, val);
}