Skip to content
This repository has been archived by the owner on Jan 20, 2022. It is now read-only.

Commit

Permalink
Make sure the tail in TPNamedProducer actually names a tail (#706)
Browse files Browse the repository at this point in the history
* Make sure the tail in TPNamedProducer actually names a tail

* add mima exclusion
  • Loading branch information
johnynek committed Jan 13, 2017
1 parent 77b65d5 commit db801c2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -240,7 +240,8 @@ val ignoredABIProblems = {
exclude[DirectMissingMethodProblem]("com.twitter.summingbird.online.executor.OperationContainer.notifyFailure"),
exclude[ReversedMissingMethodProblem]("com.twitter.summingbird.online.executor.OperationContainer.notifyFailure"),
exclude[IncompatibleMethTypeProblem]("com.twitter.summingbird.online.executor.AsyncBase.notifyFailure"),
exclude[IncompatibleMethTypeProblem]("com.twitter.summingbird.online.executor.Summer.notifyFailure")
exclude[IncompatibleMethTypeProblem]("com.twitter.summingbird.online.executor.Summer.notifyFailure"),
exclude[IncompatibleMethTypeProblem]("com.twitter.summingbird.TPNamedProducer.this")
)
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,7 @@ case class AlsoProducer[P <: Platform[P], +T, +R](ensure: TailProducer[P, T], re

case class NamedProducer[P <: Platform[P], +T](producer: Producer[P, T], id: String) extends Producer[P, T]

class TPNamedProducer[P <: Platform[P], +T](producer: Producer[P, T], id: String) extends NamedProducer[P, T](producer, id) with TailProducer[P, T]
class TPNamedProducer[P <: Platform[P], +T](val tail: TailProducer[P, T], id: String) extends NamedProducer[P, T](tail, id) with TailProducer[P, T]

/**
* Represents filters and maps which may be optimized differently
Expand Down

0 comments on commit db801c2

Please sign in to comment.