Skip to content

Commit

Permalink
Fixing a hystrix-examples compilation failure.
Browse files Browse the repository at this point in the history
One of the examples still used the now-deprecated toBlockingObservable(). It now uses toBlocking() which allows one to actually compile the examples again.
  • Loading branch information
Kevin van der Vlist committed Dec 9, 2014
1 parent cfa3ae1 commit b4ab356
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -76,8 +76,8 @@ public void testObservable() throws Exception {
Observable<String> fBob = new CommandHelloWorld("Bob").observe();

// blocking
assertEquals("Hello World!", fWorld.toBlockingObservable().single());
assertEquals("Hello Bob!", fBob.toBlockingObservable().single());
assertEquals("Hello World!", fWorld.toBlocking().single());
assertEquals("Hello Bob!", fBob.toBlocking().single());

// non-blocking
// - this is a verbose anonymous inner-class approach and doesn't do assertions
Expand Down

0 comments on commit b4ab356

Please sign in to comment.