File tree Expand file tree Collapse file tree 3 files changed +0
-6
lines changed
java/com/rolandkuhn/rsinterop
scala/com/rolandkuhn/rsinterop Expand file tree Collapse file tree 3 files changed +0
-6
lines changed Original file line number Diff line number Diff line change @@ -13,7 +13,6 @@ scalaVersion := "2.11.4"
1313libraryDependencies ++= Seq (
1414 " com.typesafe.akka" %% " akka-stream-experimental" % " 0.10-M1" ,
1515 " io.reactivex" % " rxjava-reactive-streams" % " 0.3.0" ,
16- " io.ratpack" % " ratpack-rx" % " 0.9.10-SNAPSHOT" ,
1716 " io.ratpack" % " ratpack-test" % " 0.9.10-SNAPSHOT" ,
1817 " org.projectreactor" % " reactor-core" % " 2.0.0.M1"
1918 )
Original file line number Diff line number Diff line change 99import akka .stream .javadsl .Sink ;
1010import akka .stream .javadsl .Source ;
1111import ratpack .http .ResponseChunks ;
12- import ratpack .rx .RxRatpack ;
1312import ratpack .test .embed .EmbeddedApp ;import reactor .rx .Stream ;
1413import reactor .rx .Streams ;
1514import rx .Observable ;
@@ -21,7 +20,6 @@ public class JavaMain {
2120 public static void main (String [] args ) {
2221 final ActorSystem system = ActorSystem .create ("InteropTest" );
2322 final FlowMaterializer mat = FlowMaterializer .create (system );
24- RxRatpack .initialize ();
2523
2624 EmbeddedApp .fromHandler (ctx -> {
2725 final Integer [] ints = new Integer [10 ];
Original file line number Diff line number Diff line change 11package com .rolandkuhn .rsinterop
22
3- import ratpack .rx .RxRatpack
43import ratpack .test .embed .EmbeddedApp
54import ratpack .handling .Handler
65import ratpack .handling .Context
@@ -21,8 +20,6 @@ object ScalaMain extends App {
2120 val system = ActorSystem (" InteropTest" )
2221 implicit val mat = FlowMaterializer ()(system)
2322
24- RxRatpack .initialize()
25-
2623 EmbeddedApp .fromHandler(new Handler {
2724 override def handle (ctx : Context ): Unit = {
2825 // RxJava Observable
You can’t perform that action at this time.
0 commit comments