mirror of https://github.com/sbt/sbt.git
Cast module
This commit is contained in:
parent
3fa547d1b4
commit
5581b0c31c
|
|
@ -23,9 +23,7 @@ class IvyDependencyResolution private[sbt] (val ivySbt: IvySbt)
|
|||
IvyActions.updateEither(toModule(module), configuration, uwconfig, log)
|
||||
|
||||
private[sbt] def toModule(module: ModuleDescriptor): Module =
|
||||
module match {
|
||||
case m: Module @unchecked => m
|
||||
}
|
||||
module.asInstanceOf[Module]
|
||||
}
|
||||
|
||||
object IvyDependencyResolution {
|
||||
|
|
|
|||
Loading…
Reference in New Issue