diff options
author | Iulian Dragos <jaguarul@gmail.com> | 2008-05-19 15:30:17 +0000 |
---|---|---|
committer | Iulian Dragos <jaguarul@gmail.com> | 2008-05-19 15:30:17 +0000 |
commit | f1954d9a3570572f5b79511c4eec7b6ceb7a9dd1 (patch) | |
tree | ebbea343d38c69ced09ec935cde1739451346122 | |
parent | 617eafd6e8aa2bec753f9cf1663bedfb4c200733 (diff) | |
download | scala-f1954d9a3570572f5b79511c4eec7b6ceb7a9dd1.tar.gz scala-f1954d9a3570572f5b79511c4eec7b6ceb7a9dd1.tar.bz2 scala-f1954d9a3570572f5b79511c4eec7b6ceb7a9dd1.zip |
Deprecated lower case type aliases for primitiv...
Deprecated lower case type aliases for primitive types, #744.
-rw-r--r-- | src/library/scala/Predef.scala | 18 | ||||
-rw-r--r-- | src/partest/scala/tools/partest/PartestTask.scala | 4 | ||||
-rw-r--r-- | src/partest/scala/tools/partest/nest/Worker.scala | 2 |
3 files changed, 12 insertions, 12 deletions
diff --git a/src/library/scala/Predef.scala b/src/library/scala/Predef.scala index d27f92094e..39d71c3d94 100644 --- a/src/library/scala/Predef.scala +++ b/src/library/scala/Predef.scala @@ -25,15 +25,15 @@ object Predef { // aliases ------------------------------------------------------------ - type byte = scala.Byte - type short = scala.Short - type char = scala.Char - type int = scala.Int - type long = scala.Long - type float = scala.Float - type double = scala.Double - type boolean = scala.Boolean - type unit = scala.Unit + @deprecated type byte = scala.Byte + @deprecated type short = scala.Short + @deprecated type char = scala.Char + @deprecated type int = scala.Int + @deprecated type long = scala.Long + @deprecated type float = scala.Float + @deprecated type double = scala.Double + @deprecated type boolean = scala.Boolean + @deprecated type unit = scala.Unit /** @deprecated use <code>java.lang.Integer</code> instead */ @deprecated type Integer = java.lang.Integer diff --git a/src/partest/scala/tools/partest/PartestTask.scala b/src/partest/scala/tools/partest/PartestTask.scala index 39e66f5b0c..b2990fb4a5 100644 --- a/src/partest/scala/tools/partest/PartestTask.scala +++ b/src/partest/scala/tools/partest/PartestTask.scala @@ -160,8 +160,8 @@ class PartestTask extends Task { if (!scalacOpts.isEmpty) setFileManagerStringProperty("SCALAC_OPTS", scalacOpts.get) - var allSucesses: int = 0 - var allFailures: int = 0 + var allSucesses: Int = 0 + var allFailures: Int = 0 if (getPosFiles.size > 0) { log("Compiling files that are expected to build") diff --git a/src/partest/scala/tools/partest/nest/Worker.scala b/src/partest/scala/tools/partest/nest/Worker.scala index 983cc0c2c4..58cad347ea 100644 --- a/src/partest/scala/tools/partest/nest/Worker.scala +++ b/src/partest/scala/tools/partest/nest/Worker.scala @@ -71,7 +71,7 @@ class Worker(val fileManager: FileManager) extends Actor { NestUI.normal("[...]"+name+List.toString(List.make(totalWidth-name.length, ' ')), printer) } - def printInfoEnd(success: boolean, printer: PrintWriter) { + def printInfoEnd(success: Boolean, printer: PrintWriter) { NestUI.normal("[", printer) if (success) NestUI.success(" OK ", printer) else NestUI.failure("FAILED", printer) |