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.
2 parents 7dbed13 + 8efad4a commit ec2f991Copy full SHA for ec2f991
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