From d13957a7d2ff2c2c06d806fd7ce5714528863797 Mon Sep 17 00:00:00 2001 From: Steve Gury Date: Sun, 30 Aug 2015 17:21:31 -0700 Subject: [PATCH] Fix typo, 'first' was used instead of 'second' In the `refcount` section, there was a two usage of the word first for identifying the subscriptions. --- Part 3 - Taming the sequence/6. Hot and Cold observables.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Part 3 - Taming the sequence/6. Hot and Cold observables.md b/Part 3 - Taming the sequence/6. Hot and Cold observables.md index 1493648..0800734 100644 --- a/Part 3 - Taming the sequence/6. Hot and Cold observables.md +++ b/Part 3 - Taming the sequence/6. Hot and Cold observables.md @@ -161,7 +161,7 @@ Subscription s1 = cold.subscribe(i -> System.out.println("First: " + i)); Thread.sleep(500); Subscription s2 = cold.subscribe(i -> System.out.println("Second: " + i)); Thread.sleep(500); -System.out.println("Unsubscribe first"); +System.out.println("Unsubscribe second"); s2.unsubscribe(); Thread.sleep(500); System.out.println("Unsubscribe first"); @@ -179,7 +179,7 @@ First: 2 Second: 2 First: 3 Second: 3 -Unsubscribe first +Unsubscribe second First: 4 First: 5 First: 6