Skip to content

Commit 615b0fc

Browse files
committed
Merge pull request ReactiveX#3365 from artem-zinnatullin/code-cleanup-in-OnSubscribeRedo.RetryWithPredicate
Make field final and remove unnecessary unboxing in OnSubscribeRedo.RetryWithPredicate
2 parents cdf0419 + 9b10529 commit 615b0fc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/rx/internal/operators/OnSubscribeRedo.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ public Notification<?> call(Notification<?> terminalNotification) {
9898
}
9999

100100
public static final class RetryWithPredicate implements Func1<Observable<? extends Notification<?>>, Observable<? extends Notification<?>>> {
101-
private Func2<Integer, Throwable, Boolean> predicate;
101+
private final Func2<Integer, Throwable, Boolean> predicate;
102102

103103
public RetryWithPredicate(Func2<Integer, Throwable, Boolean> predicate) {
104104
this.predicate = predicate;

0 commit comments

Comments
 (0)