Skip to content

Commit 2dea19d

Browse files
committed
update javadoc comments for JavaDocs subscriber
1 parent 89a2b67 commit 2dea19d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/main/java/rx/subscribers/JavaFxSubscriber.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,15 +23,15 @@
2323
public enum JavaFxSubscriber {
2424
;//no instances
2525
/**
26-
* Turns an Observable into a JavaFX Binding. Calling the dispose() method will handle the unsubscription.
26+
* Turns an Observable into a JavaFX Binding. Calling the Binding's dispose() method will handle the unsubscription.
2727
*/
2828
public static <T> Binding<T> toBinding(Observable<T> obs) {
2929
BindingSubscriber<T> bindingSubscriber = new BindingSubscriber<>(e -> {});
3030
obs.subscribe(bindingSubscriber);
3131
return bindingSubscriber;
3232
}
3333
/**
34-
* Turns an Observable into a JavaFX Binding. Calling the dispose() method will handle the unsubscription.
34+
* Turns an Observable into a JavaFX Binding. Calling the Binding's dispose() method will handle the unsubscription.
3535
*/
3636
public static <T> Binding<T> toBinding(Observable<T> obs, Action1<Throwable> onErrorAction ) {
3737
BindingSubscriber<T> bindingSubscriber = new BindingSubscriber<>(onErrorAction);

0 commit comments

Comments
 (0)