Skip to content

Commit 90a6ec4

Browse files
committed
clean-up
1 parent b63f594 commit 90a6ec4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

language-adaptors/rxjava-scala/src/main/scala/rx/lang/scala/ScalaAdaptor.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ class ScalaAdaptor extends FunctionLanguageAdaptor {
5555

5656
def call(function: AnyRef, args: Array[AnyRef]) : Object = {
5757
function match {
58-
case (func: Map[String, _]) => return matchOption(function.asInstanceOf[Map[String, _]].get(ON_NEXT), args)
58+
case (func: Map[String, _]) => return matchOption(func.get(ON_NEXT), args)
5959
case _ => return matchFunction(function, args)
6060
}
6161
}

0 commit comments

Comments
 (0)