=pro silence MiMa warning in testkit

This commit is contained in:
Konrad `ktoso` Malawski 2017-03-10 14:21:37 +01:00
parent e2a15a2a58
commit f7b7c3642d
2 changed files with 7 additions and 3 deletions

View file

@ -228,7 +228,7 @@ private[akka] class Shard(
def passivate(entity: ActorRef, stopMessage: Any): Unit = {
idByRef.get(entity) match {
case Some(id) => if (!messageBuffers.contains(id)) {
case Some(id) if (!messageBuffers.contains(id)) {
log.debug("Passivating started on entity {}", id)
passivating = passivating + entity
@ -237,7 +237,7 @@ private[akka] class Shard(
} else {
log.debug("Passivation already in progress for {}. Not sending stopMessage back to entity.", entity)
}
case None => log.debug("Unknown entity {}. Not sending stopMessage back to entity.", entity)
case None log.debug("Unknown entity {}. Not sending stopMessage back to entity.", entity)
}
}

View file

@ -540,7 +540,11 @@ object MiMa extends AutoPlugin {
ProblemFilters.exclude[DirectMissingMethodProblem]("akka.stream.stage.GraphStageWithMaterializedValue.module"),
ProblemFilters.exclude[MissingClassProblem]("akka.stream.scaladsl.ModuleExtractor"),
ProblemFilters.exclude[MissingClassProblem]("akka.stream.scaladsl.ModuleExtractor$"),
ProblemFilters.excludePackage("akka.stream.impl")
ProblemFilters.excludePackage("akka.stream.impl"),
// small changes in attributes
ProblemFilters.exclude[IncompatibleResultTypeProblem]("akka.stream.testkit.StreamTestKit#ProbeSource.withAttributes"),
ProblemFilters.exclude[IncompatibleResultTypeProblem]("akka.stream.testkit.StreamTestKit#ProbeSink.withAttributes")
// NOTE: filters that will be backported to 2.4 should go to the latest 2.4 version below
)