Skip to content

1.x: Remove some unused fields #4463

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Sep 2, 2016
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,6 @@ public void call(CompletableSubscriber s) {
static final class CompletableConcatSubscriber
extends Subscriber<Completable> {
final CompletableSubscriber actual;
final int prefetch;
final SerialSubscription sr;

final SpscArrayQueue<Completable> queue;
Expand All @@ -60,7 +59,6 @@ static final class CompletableConcatSubscriber

public CompletableConcatSubscriber(CompletableSubscriber actual, int prefetch) {
this.actual = actual;
this.prefetch = prefetch;
this.queue = new SpscArrayQueue<Completable>(prefetch);
this.sr = new SerialSubscription();
this.inner = new ConcatInnerSubscriber();
Expand Down Expand Up @@ -149,4 +147,4 @@ public void onCompleted() {
}
}
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -61,8 +61,6 @@ static final class ConcatInnerSubscriber extends AtomicInteger implements Comple
final CompletableSubscriber actual;
final Iterator<? extends Completable> sources;

int index;

final SerialSubscription sd;

public ConcatInnerSubscriber(CompletableSubscriber actual, Iterator<? extends Completable> sources) {
Expand Down Expand Up @@ -132,4 +130,4 @@ void next() {
} while (decrementAndGet() != 0);
}
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,6 @@ static final class CompletableMergeSubscriber
extends Subscriber<Completable> {
final CompletableSubscriber actual;
final CompositeSubscription set;
final int maxConcurrency;
final boolean delayErrors;

volatile boolean done;
Expand All @@ -63,7 +62,6 @@ static final class CompletableMergeSubscriber

public CompletableMergeSubscriber(CompletableSubscriber actual, int maxConcurrency, boolean delayErrors) {
this.actual = actual;
this.maxConcurrency = maxConcurrency;
this.delayErrors = delayErrors;
this.set = new CompositeSubscription();
this.wip = new AtomicInteger(1);
Expand Down Expand Up @@ -211,4 +209,4 @@ public static Throwable collectErrors(Queue<Throwable> q) {
}
return new CompositeException(list);
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,6 @@ static final class LatestCoordinator<T, R> extends AtomicInteger implements Prod
private static final long serialVersionUID = 8567835998786448817L;
final Subscriber<? super R> actual;
final FuncN<? extends R> combiner;
final int count;
final CombinerSubscriber<T, R>[] subscribers;
final int bufferSize;
final Object[] latest;
Expand All @@ -116,7 +115,6 @@ public LatestCoordinator(Subscriber<? super R> actual,
int count, int bufferSize, boolean delayError) {
this.actual = actual;
this.combiner = combiner;
this.count = count;
this.bufferSize = bufferSize;
this.delayError = delayError;
this.latest = new Object[count];
Expand Down