summaryrefslogtreecommitdiff
path: root/src/compiler/scala/tools/nsc/reporters
diff options
context:
space:
mode:
authorPaul Phillips <paulp@improving.org>2012-11-13 02:59:33 -0800
committerPaul Phillips <paulp@improving.org>2012-11-19 11:55:07 -0800
commitf89394ee3b3f95d982382d6ee2c2b74af0c02113 (patch)
tree4a0623681753cf516778f1d0683a9df536907542 /src/compiler/scala/tools/nsc/reporters
parentd5e3f85946af966111f88af90a666a709df0ba6f (diff)
downloadscala-f89394ee3b3f95d982382d6ee2c2b74af0c02113.tar.gz
scala-f89394ee3b3f95d982382d6ee2c2b74af0c02113.tar.bz2
scala-f89394ee3b3f95d982382d6ee2c2b74af0c02113.zip
Removing ancient comments and pointless comments.
Translating <code></code> into backticks. Removed the "@param tree ..." blocks which have been taunting me for half a decade now. Removed commented-out blocks of code which had been sitting there for two years or more.
Diffstat (limited to 'src/compiler/scala/tools/nsc/reporters')
-rw-r--r--src/compiler/scala/tools/nsc/reporters/ConsoleReporter.scala8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/compiler/scala/tools/nsc/reporters/ConsoleReporter.scala b/src/compiler/scala/tools/nsc/reporters/ConsoleReporter.scala
index 245ac6adaa..bda195f9d3 100644
--- a/src/compiler/scala/tools/nsc/reporters/ConsoleReporter.scala
+++ b/src/compiler/scala/tools/nsc/reporters/ConsoleReporter.scala
@@ -34,9 +34,6 @@ class ConsoleReporter(val settings: Settings, reader: BufferedReader, writer: Pr
}
/** Returns the number of errors issued totally as a string.
- *
- * @param severity ...
- * @return ...
*/
private def getCountString(severity: Severity): String =
StringOps.countElementsAsString((severity).count, label(severity))
@@ -52,17 +49,12 @@ class ConsoleReporter(val settings: Settings, reader: BufferedReader, writer: Pr
printMessage(pos, clabel(severity) + msg)
}
- /**
- * @param pos ...
- */
def printSourceLine(pos: Position) {
printMessage(pos.lineContent.stripLineEnd)
printColumnMarker(pos)
}
/** Prints the column marker of the given position.
- *
- * @param pos ...
*/
def printColumnMarker(pos: Position) =
if (pos.isDefined) { printMessage(" " * (pos.column - 1) + "^") }