mirror of
https://github.com/haraldk/TwelveMonkeys.git
synced 2025-08-03 11:35:29 -04:00
fix coming problem
This commit is contained in:
parent
9b615de8ed
commit
ad913b5093
@ -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);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user