Skip to content

Commit

Permalink
Fix reference to CompletableCommand
Browse files Browse the repository at this point in the history
  • Loading branch information
mattrjacobs committed May 9, 2017
1 parent cac455d commit 1aeabfa
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ public void testCompletable() throws InterruptedException {
final CountDownLatch latch = new CountDownLatch(1);
final HystrixObservableCommand<Integer> command = new CompletableCommand();

(new CompletableCommand()).observe().subscribe(new Subscriber<Integer>() {
command.observe().subscribe(new Subscriber<Integer>() {
@Override
public void onCompleted() {
System.out.println(System.currentTimeMillis() + " : " + Thread.currentThread().getName() + " OnCompleted");
Expand Down

0 comments on commit 1aeabfa

Please sign in to comment.