summaryrefslogtreecommitdiff
path: root/src/compiler/scala/tools/ant/ScalaMatchingTask.scala
diff options
context:
space:
mode:
Diffstat (limited to 'src/compiler/scala/tools/ant/ScalaMatchingTask.scala')
-rw-r--r--src/compiler/scala/tools/ant/ScalaMatchingTask.scala9
1 files changed, 1 insertions, 8 deletions
diff --git a/src/compiler/scala/tools/ant/ScalaMatchingTask.scala b/src/compiler/scala/tools/ant/ScalaMatchingTask.scala
index f459075565..2931f481e2 100644
--- a/src/compiler/scala/tools/ant/ScalaMatchingTask.scala
+++ b/src/compiler/scala/tools/ant/ScalaMatchingTask.scala
@@ -10,20 +10,13 @@ package scala.tools.ant
import java.io.{ File, InputStream, FileWriter }
-import org.apache.tools.ant.{ Task, BuildException, Project }
+import org.apache.tools.ant.{ Task, BuildException }
import org.apache.tools.ant.taskdefs.MatchingTask
import org.apache.tools.ant.types.{ Path, Reference }
trait ScalaTask {
self: Task =>
- /** Logs a warning message from the ant task (such as deprecated warnings) */
- protected def buildWarning(message: String): Unit = {
- log("warning:", Project.MSG_WARN)
- log(" " + message, Project.MSG_WARN)
- log("", Project.MSG_WARN)
- }
-
/** Generates a build error. Error location will be the
* current task in the ant file.
*