Skip to content

Commit fe71f6a

Browse files
authored
s/error/fail/ (#7080)
1 parent 6b48855 commit fe71f6a

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/main/java/io/reactivex/rxjava3/internal/operators/observable/ObservableZipIterable.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ public void onNext(T t) {
112112
u = Objects.requireNonNull(iterator.next(), "The iterator returned a null value");
113113
} catch (Throwable e) {
114114
Exceptions.throwIfFatal(e);
115-
error(e);
115+
fail(e);
116116
return;
117117
}
118118

@@ -121,7 +121,7 @@ public void onNext(T t) {
121121
v = Objects.requireNonNull(zipper.apply(t, u), "The zipper function returned a null value");
122122
} catch (Throwable e) {
123123
Exceptions.throwIfFatal(e);
124-
error(e);
124+
fail(e);
125125
return;
126126
}
127127

@@ -133,7 +133,7 @@ public void onNext(T t) {
133133
b = iterator.hasNext();
134134
} catch (Throwable e) {
135135
Exceptions.throwIfFatal(e);
136-
error(e);
136+
fail(e);
137137
return;
138138
}
139139

@@ -144,7 +144,7 @@ public void onNext(T t) {
144144
}
145145
}
146146

147-
void error(Throwable e) {
147+
void fail(Throwable e) {
148148
done = true;
149149
upstream.dispose();
150150
downstream.onError(e);

0 commit comments

Comments
 (0)