Skip to content

Commit

Permalink
Minor dead code elimination.
Browse files Browse the repository at this point in the history
  • Loading branch information
league committed Jul 30, 2012
1 parent 8c4ae02 commit 8171c3a
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions core/src/main/scala/projections.scala
Expand Up @@ -3,10 +3,6 @@ package dispatch
// handy projections

object PromiseEither {
class EitherDelegate[+A,+B](underlying: Promise[Either[A,B]])
extends DelegatePromise[Either[A,B]] {
def delegate = underlying
}

type EitherSwap[+A,+B] = Either[B,A]

Expand Down Expand Up @@ -138,11 +134,3 @@ object PromiseRightIterable {
def filter(p: A => Boolean) = withFilter(p)
}
}

/*
: Promise[EitherSwap[Iterable[A],E]]
: Promise[RightProjection[E,Iterable[A]]]
*/

0 comments on commit 8171c3a

Please sign in to comment.