diff java/src/java/util/ResourceBundle.d @ 18:735224fcc45f

redirected all printings to DwtLogger
author Frank Benoit <benoit@tionex.de>
date Wed, 18 Mar 2009 09:57:53 +0100
parents 712ffca654f3
children 9b96950f2c3c
line wrap: on
line diff
--- a/java/src/java/util/ResourceBundle.d	Wed Mar 18 09:09:23 2009 +0100
+++ b/java/src/java/util/ResourceBundle.d	Wed Mar 18 09:57:53 2009 +0100
@@ -4,7 +4,6 @@
 module java.util.ResourceBundle;
 
 import tango.text.Util;
-import tango.io.Stdout;
 
 import java.lang.util;
 import java.lang.Integer;
@@ -54,7 +53,6 @@
         String line;
         int dataIndex;
 
-        //tango.io.Stdout.Stdout.formatln( "properties put ..." );
         void readLine(){
             line.length = 0;
             char i = data[ dataIndex++ ];
@@ -64,22 +62,18 @@
             }
         }
 
-        //tango.io.Stdout.Stdout.formatln( "properties put {}", __LINE__ );
         bool linecontinue = false;
         bool iskeypart = true;
         String key;
         String value;
 nextline:
         while( dataIndex < data.length ){
-            //tango.io.Stdout.Stdout.formatln( "properties put {} startline", __LINE__ );
             readLine();
             line = java.lang.util.trim(line);
             if( line.length is 0 ){
-                //tango.io.Stdout.Stdout.formatln( "properties put {} was 0 length", __LINE__ );
                 continue;
             }
             if( line[0] == '#' ){
-                //tango.io.Stdout.Stdout.formatln( "properties put {} was comment", __LINE__ );
                 continue;
             }
             int pos = 0;
@@ -138,10 +132,8 @@
             }
             key = java.lang.util.trim(key);
             value = java.lang.util.trim(value);
-            //tango.io.Stdout.Stdout.formatln( "properties put {}=>{}", key, value );
 
             map[ key.dup ] = value.dup;
-            //tango.io.Stdout.Stdout.formatln( "properties put {}", __LINE__ );
         }
     }