!per #17755 removes the saved callback in plugins and adds receive

This commit is contained in:
Konrad Malawski 2015-06-17 01:23:18 +02:00
parent 541ac83b10
commit 2a5161ff6f
16 changed files with 238 additions and 141 deletions

View file

@ -245,4 +245,9 @@ object Util {
*/
def immutableIndexedSeq[T](iterable: java.lang.Iterable[T]): immutable.IndexedSeq[T] =
immutableSeq(iterable).toVector
// TODO in case we decide to pull in scala-java8-compat methods below could be removed - https://github.com/akka/akka/issues/16247
def option[T](jOption: java.util.Optional[T]): scala.Option[T] =
scala.Option(jOption.orElse(null.asInstanceOf[T]))
}