Skip to content

Commit 632ca76

Browse files
committed
Rename OperationSkipLast to OperatorSkipLast
1 parent fe9d383 commit 632ca76

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

rxjava-core/src/main/java/rx/Observable.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,6 @@
8181
import rx.operators.OperationSequenceEqual;
8282
import rx.operators.OperationSingle;
8383
import rx.operators.OperationSkip;
84-
import rx.operators.OperationSkipLast;
8584
import rx.operators.OperationSkipUntil;
8685
import rx.operators.OperationSum;
8786
import rx.operators.OperationSwitch;
@@ -117,6 +116,7 @@
117116
import rx.operators.OperatorScan;
118117
import rx.operators.OperatorSerialize;
119118
import rx.operators.OperatorSkip;
119+
import rx.operators.OperatorSkipLast;
120120
import rx.operators.OperatorSkipWhile;
121121
import rx.operators.OperatorSubscribeOn;
122122
import rx.operators.OperatorSynchronize;
@@ -6043,7 +6043,7 @@ public final Observable<T> skip(long time, TimeUnit unit, Scheduler scheduler) {
60436043
* @see <a href="http://msdn.microsoft.com/en-us/library/hh211750.aspx">MSDN: Observable.SkipLast</a>
60446044
*/
60456045
public final Observable<T> skipLast(int count) {
6046-
return lift(new OperationSkipLast<T>(count));
6046+
return lift(new OperatorSkipLast<T>(count));
60476047
}
60486048

60496049
/**
@@ -6083,7 +6083,7 @@ public final Observable<T> skipLast(long time, TimeUnit unit) {
60836083
* @see <a href="http://msdn.microsoft.com/en-us/library/hh211750.aspx">MSDN: Observable.SkipLast</a>
60846084
*/
60856085
public final Observable<T> skipLast(long time, TimeUnit unit, Scheduler scheduler) {
6086-
return create(new OperationSkipLast.SkipLastTimed<T>(this, time, unit, scheduler));
6086+
return create(new OperatorSkipLast.SkipLastTimed<T>(this, time, unit, scheduler));
60876087
}
60886088

60896089
/**

rxjava-core/src/main/java/rx/operators/OperationSkipLast.java renamed to rxjava-core/src/main/java/rx/operators/OperatorSkipLast.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,11 +34,11 @@
3434
/**
3535
* Bypasses a specified number of elements at the end of an observable sequence.
3636
*/
37-
public class OperationSkipLast<T> implements Operator<T, T> {
37+
public class OperatorSkipLast<T> implements Operator<T, T> {
3838

3939
private final int count;
4040

41-
public OperationSkipLast(int count) {
41+
public OperatorSkipLast(int count) {
4242
if (count < 0) {
4343
throw new IndexOutOfBoundsException("count could not be negative");
4444
}

rxjava-core/src/test/java/rx/operators/OperationSkipLastTest.java renamed to rxjava-core/src/test/java/rx/operators/OperatorSkipLastTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
import rx.schedulers.TestScheduler;
3535
import rx.subjects.PublishSubject;
3636

37-
public class OperationSkipLastTest {
37+
public class OperatorSkipLastTest {
3838

3939
@Test
4040
public void testSkipLastEmpty() {

0 commit comments

Comments
 (0)