We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7dbed13 commit 8efad4aCopy full SHA for 8efad4a
src/main/java/rx/Observable.java
@@ -1057,7 +1057,7 @@ public final static <T> Observable<T> defer(Func0<Observable<T>> observableFacto
1057
* @see <a href="http://msdn.microsoft.com/en-us/library/hh229670.aspx">MSDN: Observable.Empty</a>
1058
*/
1059
public final static <T> Observable<T> empty() {
1060
- return from(new ArrayList<T>());
+ return from(Collections.<T>emptyList());
1061
}
1062
1063
/**
0 commit comments