=peq remove bridge from old APIs in PersistenceQuery

This commit is contained in:
Konrad Malawski 2016-12-14 15:11:54 +01:00
parent d31db86567
commit b036b555e4
14 changed files with 50 additions and 88 deletions

View file

@ -60,10 +60,6 @@ object PersistenceQueryDocSpec {
val props = MyEventsByTagPublisher.props(tag, offsetValue, refreshInterval)
Source.actorPublisher[EventEnvelope](props)
.mapMaterializedValue(_ => NotUsed)
.map {
case EventEnvelope(offset, id, seqNr, event) =>
EventEnvelope(Sequence(offset), id, seqNr, event)
}
case _
throw new IllegalArgumentException("LevelDB does not support " + offset.getClass.getName + " offsets")
}