mirror of https://github.com/sbt/sbt.git
Replace `Pair.apply` with `Util.pairID`, avoids extra class generation
This commit is contained in:
parent
38941a4cfd
commit
51db55d847
|
|
@ -27,4 +27,6 @@ object Util
|
|||
case 1 => Some("1 " + prefix + single)
|
||||
case x => Some(x.toString + " " + prefix + plural)
|
||||
}
|
||||
}
|
||||
|
||||
def pairID[A,B] = (a: A, b: B) => (a,b)
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue