minor cleanup of previous commit: var->val in sbt.JLine

This commit is contained in:
Mark Harrah 2012-12-20 09:25:35 -05:00
parent 4ad81e9d04
commit 89ad7d720a
1 changed files with 1 additions and 1 deletions

View File

@ -52,7 +52,7 @@ abstract class JLine extends LineReader
}
private[this] def handleMultilinePrompt(prompt: String): String = {
var lines = """\r?\n""".r.split(prompt)
val lines = """\r?\n""".r.split(prompt)
lines.size match {
case 0 | 1 => prompt
case _ => reader.printString(lines.init.mkString("\n") + "\n"); lines.last;