Skip to content

More warnings cleanup #2867

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
Apr 9, 2015
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 @@ -35,12 +35,6 @@ public final class SubscriptionIndexedRingBuffer<T extends Subscription> impleme
public SubscriptionIndexedRingBuffer() {
}

public SubscriptionIndexedRingBuffer(final T... subscriptions) {
for (T t : subscriptions) {
this.subscriptions.add(t);
}
}

@Override
public boolean isUnsubscribed() {
return unsubscribed == 1;
Expand Down
7 changes: 1 addition & 6 deletions src/main/java/rx/internal/util/SubscriptionRandomList.java
Original file line number Diff line number Diff line change
Expand Up @@ -16,14 +16,13 @@
package rx.internal.util;

import java.util.ArrayList;
import java.util.Arrays;
import java.util.Collection;
import java.util.HashSet;
import java.util.List;
import java.util.Set;

import rx.Subscription;
import rx.exceptions.*;
import rx.exceptions.Exceptions;
import rx.functions.Action1;

/**
Expand All @@ -39,10 +38,6 @@ public final class SubscriptionRandomList<T extends Subscription> implements Sub
public SubscriptionRandomList() {
}

public SubscriptionRandomList(final T... subscriptions) {
this.subscriptions = new HashSet<T>(Arrays.asList(subscriptions));
}

@Override
public synchronized boolean isUnsubscribed() {
return unsubscribed;
Expand Down
1 change: 0 additions & 1 deletion src/main/java/rx/plugins/RxJavaErrorHandler.java
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@
import rx.Subscriber;
import rx.annotations.Experimental;
import rx.exceptions.Exceptions;
import rx.exceptions.OnErrorThrowable;

/**
* Abstract class for defining error handling logic in addition to the normal
Expand Down