Skip to content

Commit ac96d21

Browse files
committed
1.x: Subscriber.NOT_SET Long -> long, saves an unboxing per instance (#3919)
1 parent 2a8d6c7 commit ac96d21

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/rx/Subscriber.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
public abstract class Subscriber<T> implements Observer<T>, Subscription {
3434

3535
// represents requested not set yet
36-
private static final Long NOT_SET = Long.MIN_VALUE;
36+
private static final long NOT_SET = Long.MIN_VALUE;
3737

3838
private final SubscriptionList subscriptions;
3939
private final Subscriber<?> subscriber;

0 commit comments

Comments
 (0)