Skip to content

Commit e8ff934

Browse files
JakeWhartonakarnokd
authored andcommitted
Do not promise a new instance where we return a singleton. (#4384)
1 parent 3262f16 commit e8ff934

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/main/java/io/reactivex/disposables/Disposables.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -97,8 +97,8 @@ public static Disposable empty() {
9797
}
9898

9999
/**
100-
* Returns a new, disposed Disposable instance.
101-
* @return a new, disposed Disposable instance
100+
* Returns a disposed Disposable instance.
101+
* @return a disposed Disposable instance
102102
*/
103103
public static Disposable disposed() {
104104
return EmptyDisposable.INSTANCE;

0 commit comments

Comments
 (0)