Merge pull request #1336 from sbt/wip/compile-with-2.11

Bump expected 2.11 module versions so we can compile with 2.11
This commit is contained in:
eugene yokota 2014-05-15 09:13:36 -04:00
commit 07c6a5700c
1 changed files with 1 additions and 1 deletions

View File

@ -128,7 +128,7 @@ object Escape {
def pad(s: String, minLength: Int, extra: Char) =
{
val diff = minLength - s.length
if (diff <= 0) s else List.make(diff, extra).mkString("", "", s)
if (diff <= 0) s else List.fill(diff)(extra).mkString("", "", s)
}
/** Replaces a \n character at the end of a string `s` with `nl`.*/
def newline(s: String, nl: String): String =