summaryrefslogtreecommitdiff
path: root/test/files/run/Course-2002-06.scala
diff options
context:
space:
mode:
authormihaylov <mihaylov@epfl.ch>2003-12-01 17:03:45 +0000
committermihaylov <mihaylov@epfl.ch>2003-12-01 17:03:45 +0000
commit34501279e2ba67fb9726c8abe74ef31019434232 (patch)
tree990a95cd229c2364158f7853ada5809048a95939 /test/files/run/Course-2002-06.scala
parent8bec111856abf2481e352f16b489e96bd1e567fa (diff)
downloadscala-34501279e2ba67fb9726c8abe74ef31019434232.tar.gz
scala-34501279e2ba67fb9726c8abe74ef31019434232.tar.bz2
scala-34501279e2ba67fb9726c8abe74ef31019434232.zip
- explicitly qualified System with java.lang.
Diffstat (limited to 'test/files/run/Course-2002-06.scala')
-rw-r--r--test/files/run/Course-2002-06.scala3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/files/run/Course-2002-06.scala b/test/files/run/Course-2002-06.scala
index d044d778d6..a1218429c2 100644
--- a/test/files/run/Course-2002-06.scala
+++ b/test/files/run/Course-2002-06.scala
@@ -122,7 +122,8 @@ class PostScript (filename: String, _width: Double, _height: Double)
/** File where to print.*/
import java.io._;
val out : PrintStream = new PrintStream(
- if (filename == "-") System.out else new FileOutputStream(filename));
+ if (filename == "-") java.lang.System.out
+ else new FileOutputStream(filename));
def plotLine(x1: Double, y1: Double, x2: Double, y2: Double): Unit = {
out.println(x1 + " " + y1 + " m " + x2 + " " + y2 + " l");