mirror of https://github.com/sbt/sbt.git
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:
commit
07c6a5700c
|
|
@ -128,7 +128,7 @@ object Escape {
|
||||||
def pad(s: String, minLength: Int, extra: Char) =
|
def pad(s: String, minLength: Int, extra: Char) =
|
||||||
{
|
{
|
||||||
val diff = minLength - s.length
|
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`.*/
|
/** Replaces a \n character at the end of a string `s` with `nl`.*/
|
||||||
def newline(s: String, nl: String): String =
|
def newline(s: String, nl: String): String =
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue