summaryrefslogtreecommitdiff
path: root/java
diff options
context:
space:
mode:
Diffstat (limited to 'java')
-rw-r--r--java/src/ServiceConfig.java5
1 files changed, 3 insertions, 2 deletions
diff --git a/java/src/ServiceConfig.java b/java/src/ServiceConfig.java
index 5fccb8e57f3..e749076137b 100644
--- a/java/src/ServiceConfig.java
+++ b/java/src/ServiceConfig.java
@@ -1,4 +1,4 @@
-/*************************************************
+ /*************************************************
*
* = PACKAGE
* JACE.ServiceConfigurator
@@ -175,7 +175,8 @@ public class ServiceConfig
FileInputStream fileIn = new FileInputStream (configFile);
// Parse the file
- StreamTokenizer in = new StreamTokenizer (fileIn);
+ Reader r = new BufferedReader(new InputStreamReader(fileIn));
+ StreamTokenizer in = new StreamTokenizer (r);
// Set '#' as comment character to be ignored and set '/' as
// ordinary character (was original comment character)