Skip to content

Commit

Permalink
Fix a typo in org.reactivestreams.example.unicast.AsyncSubscriber
Browse files Browse the repository at this point in the history
  • Loading branch information
seratch committed Jan 3, 2017
1 parent 4e8e372 commit 8b23a2e
Showing 1 changed file with 2 additions and 2 deletions.
Expand Up @@ -199,7 +199,7 @@ else if (s instanceof OnSubscribe)
handleOnSubscribe(((OnSubscribe)s).subscription);
else if (s instanceof OnError) // We are always able to handle OnError, obeying rule 2.10
handleOnError(((OnError)s).error);
else if (s == OnComplete.Instance) // We are always able to handle OnError, obeying rule 2.9
else if (s == OnComplete.Instance) // We are always able to handle OnComplete, obeying rule 2.9
handleOnComplete();
}
} finally {
Expand Down Expand Up @@ -235,4 +235,4 @@ private final void tryScheduleToExecute() {
}
}
}
}
}

0 comments on commit 8b23a2e

Please sign in to comment.