We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7beda2a commit 4aa80cdCopy full SHA for 4aa80cd
src/main/java/io/reactivex/Observable.java
@@ -862,7 +862,7 @@ public static <T> Observable<T> never() {
862
@SchedulerSupport(SchedulerSupport.NONE)
863
public static Observable<Integer> range(final int start, final int count) {
864
if (count < 0) {
865
- throw new IllegalArgumentException("count >= required but it was " + count);
+ throw new IllegalArgumentException("count >= 0 required but it was " + count);
866
} else
867
if (count == 0) {
868
return empty();
0 commit comments