Skip to content

Commit 1d52491

Browse files
mark RxImplicits and RxImplicitsTests as old
1 parent 1bec926 commit 1d52491

File tree

2 files changed

+9
-1
lines changed

2 files changed

+9
-1
lines changed

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

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,11 @@
1515
*/
1616
package rx.lang.scala
1717

18+
/**
19+
* This is the old Scala adaptor. It is kept here for backwards compatibility.
20+
* The new adaptor is {@code rx.lang.scala.Observable}.
21+
*/
22+
@deprecated("use rx.lang.scala.Observable instead", "0.14")
1823
object RxImplicits {
1924
import java.{ lang => jlang }
2025
import language.implicitConversions

language-adaptors/rxjava-scala/src/test/scala/rx/lang/scala/RxImplicitsTests.scala

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,10 @@ package rx.lang.scala
1717

1818
import org.scalatest.junit.JUnitSuite
1919

20-
class UnitTestSuite extends JUnitSuite {
20+
/**
21+
* This is the test suite for the old Scala adaptor.
22+
*/
23+
class OldUnitTestSuite extends JUnitSuite {
2124
import rx.lang.scala.RxImplicits._
2225

2326
import org.junit.{ Before, Test }

0 commit comments

Comments
 (0)