Merge pull request #4 from Duhemm/port-2197

Remove IfMissing.Fallback
This commit is contained in:
eugene yokota 2015-09-11 12:05:01 -04:00
commit 8bf3873d3b
1 changed files with 0 additions and 3 deletions

View File

@ -41,8 +41,6 @@ class ComponentManager(globalLock: xsbti.GlobalLock, provider: xsbti.ComponentPr
d()
if (d.cache) cache(id)
getOrElse(notFound)
case f: IfMissing.Fallback =>
f()
}
lockLocalCache { getOrElse(fromGlobal) }
@ -77,7 +75,6 @@ sealed trait IfMissing
object IfMissing {
object Fail extends IfMissing
final class Define(val cache: Boolean, define: => Unit) extends IfMissing { def apply() = define }
final class Fallback(f: => Iterable[File]) extends IfMissing { def apply() = f }
}
object ComponentManager {
lazy val (version, timestamp) =