mirror of https://github.com/sbt/sbt.git
remove spurious unchecked warning
This commit is contained in:
parent
aea757ed18
commit
15abc87c45
|
|
@ -140,10 +140,11 @@ object ClasspathProject
|
|||
}
|
||||
|
||||
def parseSimpleConfigurations(confString: String): Map[String, String] =
|
||||
confString.split(";").map(
|
||||
_.split("->",2).toList.map(_.trim) match {
|
||||
confString.split(";").map( conf =>
|
||||
conf.split("->",2).toList.map(_.trim) match {
|
||||
case x :: Nil => (x,x)
|
||||
case x :: y :: Nil => (x,y)
|
||||
case _ => error("Invalid configuration '" + conf + "'") // shouldn't get here
|
||||
}
|
||||
).toMap
|
||||
}
|
||||
Loading…
Reference in New Issue