Mercurial > projects > dwt2
diff base/src/java/lang/System.d @ 105:bbe49769ec18
...
author | Frank Benoit <benoit@tionex.de> |
---|---|
date | Sun, 08 Nov 2009 12:42:30 +0100 |
parents | 6be48cf9f95c |
children | 9f4c18c268b2 |
line wrap: on
line diff
--- a/base/src/java/lang/System.d Sat May 02 11:27:24 2009 +0200 +++ b/base/src/java/lang/System.d Sun Nov 08 12:42:30 2009 +0100 @@ -5,6 +5,7 @@ import java.lang.util; import java.lang.exceptions; +import java.io.PrintStream; version(Tango){ static import tango.sys.Environment; @@ -229,23 +230,17 @@ } - static class Output { - public void println( String str ){ - implMissing( __FILE__, __LINE__ ); - } - } - - private static Output err__; - public static Output err(){ + private static PrintStream err__; + public static PrintStream err(){ if( err__ is null ){ - err__ = new Output(); + err__ = new PrintStream(null); } return err__; } - private static Output out__; - public static Output out_(){ + private static PrintStream out__; + public static PrintStream out_(){ if( out__ is null ){ - out__ = new Output(); + out__ = new PrintStream(null); } return out__; }