Skip to content
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

Remove unnecessary static modifier #3147

Merged
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
2 changes: 1 addition & 1 deletion src/main/java/rx/Notification.java
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ public void accept(Observer<? super T> observer) {
}
}

public static enum Kind {
public enum Kind {
OnNext, OnError, OnCompleted
}

Expand Down
4 changes: 2 additions & 2 deletions src/main/java/rx/Single.java
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ public final static <T> Single<T> create(OnSubscribe<T> f) {
/**
* Invoked when Single.execute is called.
*/
public static interface OnSubscribe<T> extends Action1<SingleSubscriber<? super T>> {
public interface OnSubscribe<T> extends Action1<SingleSubscriber<? super T>> {
// cover for generics insanity
}

Expand Down Expand Up @@ -235,7 +235,7 @@ public <R> Single<R> compose(Transformer<? super T, ? extends R> transformer) {
*
* @warn more complete description needed
*/
public static interface Transformer<T, R> extends Func1<Single<T>, Single<R>> {
public interface Transformer<T, R> extends Func1<Single<T>, Single<R>> {
// cover for generics insanity
}

Expand Down