From ad913b5093d4b7c0a95e1b6dee27965b89fd37e9 Mon Sep 17 00:00:00 2001 From: Erlend Hamnaberg Date: Fri, 6 Nov 2009 21:28:11 +0100 Subject: [PATCH] fix coming problem --- .../src/main/java/com/twelvemonkeys/lang/SystemUtil.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/common/common-lang/src/main/java/com/twelvemonkeys/lang/SystemUtil.java b/common/common-lang/src/main/java/com/twelvemonkeys/lang/SystemUtil.java index 65d8d8ea..8f3712e4 100644 --- a/common/common-lang/src/main/java/com/twelvemonkeys/lang/SystemUtil.java +++ b/common/common-lang/src/main/java/com/twelvemonkeys/lang/SystemUtil.java @@ -28,7 +28,7 @@ package com.twelvemonkeys.lang; -import com.twelvemonkeys.util.XMLProperties; +//import com.twelvemonkeys.util.XMLProperties; import java.io.*; import java.lang.reflect.Array; @@ -414,13 +414,13 @@ public final class SystemUtil { throw new IllegalArgumentException("InputStream == null!"); } - Properties mapping; - if (pInput instanceof XMLPropertiesInputStream) { + Properties mapping = new Properties(); + /*if (pInput instanceof XMLPropertiesInputStream) { mapping = new XMLProperties(); } else { mapping = new Properties(); - } + }*/ // Load the properties mapping.load(pInput);