Skip to content

Commit 884e49b

Browse files
committedDec 27, 2015
Merge pull request #3587 from JakeWharton/jw/remove-synthetic-methods
Remove the need for javac to generate synthetic methods.
2 parents 68451ca + 04be9ee commit 884e49b

File tree

72 files changed

+157
-128
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

72 files changed

+157
-128
lines changed
 

‎src/main/java/rx/Observable.java‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ protected Observable(OnSubscribe<T> f) {
6060
this.onSubscribe = f;
6161
}
6262

63-
private static final RxJavaObservableExecutionHook hook = RxJavaPlugins.getInstance().getObservableExecutionHook();
63+
static final RxJavaObservableExecutionHook hook = RxJavaPlugins.getInstance().getObservableExecutionHook();
6464

6565
/**
6666
* Returns an Observable that will execute the specified function when a {@link Subscriber} subscribes to

‎src/main/java/rx/Single.java‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ private Single(final Observable.OnSubscribe<T> f) {
111111
this.onSubscribe = f;
112112
}
113113

114-
private static final RxJavaObservableExecutionHook hook = RxJavaPlugins.getInstance().getObservableExecutionHook();
114+
static final RxJavaObservableExecutionHook hook = RxJavaPlugins.getInstance().getObservableExecutionHook();
115115

116116
/**
117117
* Returns a Single that will execute the specified function when a {@link SingleSubscriber} executes it or

0 commit comments

Comments
 (0)