Skip to content

Commit

Permalink
Observable.mergeDelayError: refactor varargs to overloads
Browse files Browse the repository at this point in the history
ReactiveX/RxJava#359 Varargs cause compiler warnings
  • Loading branch information
benjchristensen committed Sep 10, 2013
1 parent ed01772 commit c118887
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/test/scala/rx/lang/scala/RxImplicitsTests.scala
Original file line number Diff line number Diff line change
Expand Up @@ -135,8 +135,7 @@ class UnitTestSuite extends JUnitSuite {
@Test def testMerge {
val observable1 = Observable.from(1, 2, 3)
val observable2 = Observable.from(4, 5, 6)
val observableList = List(observable1, observable2).asJava
val merged = Observable.merge(observableList)
val merged = Observable.merge(observable1, observable2)
assertSubscribeReceives(merged)(1, 2, 3, 4, 5, 6)
}

Expand Down

0 comments on commit c118887

Please sign in to comment.