fix coming problem

This commit is contained in:
Erlend Hamnaberg 2009-11-06 21:28:11 +01:00
parent 9b615de8ed
commit ad913b5093

View File

@ -28,7 +28,7 @@
package com.twelvemonkeys.lang; package com.twelvemonkeys.lang;
import com.twelvemonkeys.util.XMLProperties; //import com.twelvemonkeys.util.XMLProperties;
import java.io.*; import java.io.*;
import java.lang.reflect.Array; import java.lang.reflect.Array;
@ -414,13 +414,13 @@ public final class SystemUtil {
throw new IllegalArgumentException("InputStream == null!"); throw new IllegalArgumentException("InputStream == null!");
} }
Properties mapping; Properties mapping = new Properties();
if (pInput instanceof XMLPropertiesInputStream) { /*if (pInput instanceof XMLPropertiesInputStream) {
mapping = new XMLProperties(); mapping = new XMLProperties();
} }
else { else {
mapping = new Properties(); mapping = new Properties();
} }*/
// Load the properties // Load the properties
mapping.load(pInput); mapping.load(pInput);