File tree Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -111,7 +111,7 @@ public Observable<? extends Notification<?>> call(Observable<? extends Notificat
111
111
@ Override
112
112
public Notification <Integer > call (Notification <Integer > n , Notification <?> term ) {
113
113
final int value = n .getValue ();
114
- if (predicate .call (value , term .getThrowable ()). booleanValue () )
114
+ if (predicate .call (value , term .getThrowable ()))
115
115
return Notification .createOnNext (value + 1 );
116
116
else
117
117
return (Notification <Integer >) term ;
Original file line number Diff line number Diff line change @@ -805,7 +805,7 @@ public void replay(InnerProducer<T> output) {
805
805
int sourceIndex = size ;
806
806
807
807
Integer destIndexObject = output .index ();
808
- int destIndex = destIndexObject != null ? destIndexObject . intValue () : 0 ;
808
+ int destIndex = destIndexObject != null ? destIndexObject : 0 ;
809
809
810
810
long r = output .get ();
811
811
long r0 = r ;
Original file line number Diff line number Diff line change @@ -57,9 +57,9 @@ private static class CompareActionsByTime implements Comparator<TimedAction> {
57
57
@ Override
58
58
public int compare (TimedAction action1 , TimedAction action2 ) {
59
59
if (action1 .time == action2 .time ) {
60
- return Long . valueOf ( action1 .count ). compareTo ( Long . valueOf ( action2 .count ));
60
+ return action1 .count < action2 . count ? - 1 : (( action1 . count > action2 .count ) ? 1 : 0 );
61
61
} else {
62
- return Long . valueOf ( action1 .time ). compareTo ( Long . valueOf ( action2 .time ));
62
+ return action1 .time < action2 . time ? - 1 : (( action1 . time > action2 .time ) ? 1 : 0 );
63
63
}
64
64
}
65
65
}
You can’t perform that action at this time.
0 commit comments