From 8c0245770c0cc33c3bdc447205a8b3e1baa0ace2 Mon Sep 17 00:00:00 2001 From: Adam Speakman Date: Fri, 11 Aug 2017 10:22:14 -0400 Subject: [PATCH 1/2] Migrate SubjectMap#onError to take a Throwable This now correctly reproduces the Rx API --- src/main/java/com/github/mproberts/rxtools/SubjectMap.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/main/java/com/github/mproberts/rxtools/SubjectMap.java b/src/main/java/com/github/mproberts/rxtools/SubjectMap.java index cb7a631..90a68a6 100644 --- a/src/main/java/com/github/mproberts/rxtools/SubjectMap.java +++ b/src/main/java/com/github/mproberts/rxtools/SubjectMap.java @@ -230,15 +230,15 @@ public void call(Subject subject) * to get will return a new observable and attempt to fault the value in * * @param key key with which the specified value is to be associated - * @param exception exception to be sent to the specified observable + * @param throwable throwable to be sent to the specified observable */ - public void onError(K key, final Exception exception) + public void onError(K key, final Throwable throwable) { emitUpdate(key, new Action1>() { @Override public void call(Subject subject) { - subject.onError(exception); + subject.onError(throwable); } }, true); } From 799b4c712f4e6c590f8db6912edd58ec6c58efa2 Mon Sep 17 00:00:00 2001 From: Adam Speakman Date: Tue, 15 Aug 2017 11:07:17 -0400 Subject: [PATCH 2/2] Version bump to 0.2.3 --- build.gradle | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build.gradle b/build.gradle index 213590c..3210a17 100644 --- a/build.gradle +++ b/build.gradle @@ -14,7 +14,7 @@ dependencies { allprojects { sourceCompatibility = 1.7 targetCompatibility = 1.7 - version = '0.2.2' + version = '0.2.3' } jacocoTestReport {