From 04b5daba99525a1bdeede15e1849b36fc47ae637 Mon Sep 17 00:00:00 2001 From: Gilles Dubochet Date: Mon, 9 Jan 2006 18:22:46 +0000 Subject: ant/ScalaTool is now compatible with Java 1.4. --- src/compiler/scala/tools/ant/ScalaTool.scala | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'src/compiler') diff --git a/src/compiler/scala/tools/ant/ScalaTool.scala b/src/compiler/scala/tools/ant/ScalaTool.scala index 9e9e8dd309..cb6d67c194 100644 --- a/src/compiler/scala/tools/ant/ScalaTool.scala +++ b/src/compiler/scala/tools/ant/ScalaTool.scala @@ -32,9 +32,9 @@ package scala.tools.ant { *
  • copyright,
  • *
  • classpath,
  • *
  • properties,
  • - *
  • javaFlags,
  • - *
  • toolFlags,
  • - *
  • genericFile.
  • + *
  • javaflags,
  • + *
  • toolflags,
  • + *
  • genericfile.
  • * * @author Gilles Dubochet */ class ScalaTool extends MatchingTask { @@ -150,17 +150,17 @@ package scala.tools.ant { /** Sets the version attribute. Used by Ant. * @param input The value of version. */ - def setJavaFlags(input: String) = + def setJavaflags(input: String) = javaFlags = input /** Sets the version attribute. Used by Ant. * @param input The value of version. */ - def setToolFlags(input: String) = + def setToolflags(input: String) = toolFlags = input /** Sets the version attribute. Used by Ant. * @param input The value of version. */ - def setGenericFile(input: File) = + def setGenericfile(input: File) = genericFile = Some(input) /******************************************************************************\ @@ -181,7 +181,7 @@ package scala.tools.ant { /** Gets the value of the classpath attribute in a Scala-friendly form. * @returns The class path as a list of files. */ private def getWinClasspath: String = - classpath.map(.replace("/", "\\")). + classpath.map(.replace('/', '\\')). mkString("", ";", "") /** Gets the value of the classpath attribute in a Scala-friendly form. -- cgit v1.2.3