Skip to content

Commit 237084f

Browse files
authored
2.x: Fix Javadoc warnings, links to the JDK types (#5861)
1 parent 10210e6 commit 237084f

File tree

5 files changed

+4
-6
lines changed

5 files changed

+4
-6
lines changed

build.gradle

+4-2
Original file line numberDiff line numberDiff line change
@@ -91,8 +91,10 @@ javadoc {
9191
options.addStringOption("doctitle").value = ""
9292
options.addStringOption("header").value = ""
9393

94-
options.links("http://docs.oracle.com/javase/7/docs/api/")
95-
options.links("http://www.reactive-streams.org/reactive-streams-${reactiveStreamsVersion}-javadoc/")
94+
options.links(
95+
"https://docs.oracle.com/javase/7/docs/api/",
96+
"http://www.reactive-streams.org/reactive-streams-${reactiveStreamsVersion}-javadoc/"
97+
)
9698

9799
if (JavaVersion.current().isJava7()) {
98100
// "./gradle/stylesheet.css" only supports Java 7

src/main/java/io/reactivex/CompletableObserver.java

-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,6 @@
2828
* Calling the {@code CompletableObserver}'s method must happen in a serialized fashion, that is, they must not
2929
* be invoked concurrently by multiple threads in an overlapping fashion and the invocation pattern must
3030
* adhere to the following protocol:
31-
* <p>
3231
* <pre><code> onSubscribe (onError | onComplete)?</code></pre>
3332
* <p>
3433
* Subscribing a {@code CompletableObserver} to multiple {@code CompletableSource}s is not recommended. If such reuse

src/main/java/io/reactivex/MaybeObserver.java

-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,6 @@
2828
* Calling the {@code MaybeObserver}'s method must happen in a serialized fashion, that is, they must not
2929
* be invoked concurrently by multiple threads in an overlapping fashion and the invocation pattern must
3030
* adhere to the following protocol:
31-
* <p>
3231
* <pre><code> onSubscribe (onSuccess | onError | onComplete)?</code></pre>
3332
* <p>
3433
* Note that unlike with the {@code Observable} protocol, {@link #onComplete()} is not called after the success item has been

src/main/java/io/reactivex/Observer.java

-1
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,6 @@
3030
* Calling the {@code Observer}'s method must happen in a serialized fashion, that is, they must not
3131
* be invoked concurrently by multiple threads in an overlapping fashion and the invocation pattern must
3232
* adhere to the following protocol:
33-
* <p>
3433
* <pre><code> onSubscribe onNext* (onError | onComplete)?</code></pre>
3534
* <p>
3635
* Subscribing an {@code Observer} to multiple {@code ObservableSource}s is not recommended. If such reuse

src/main/java/io/reactivex/SingleObserver.java

-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,6 @@
2828
* Calling the {@code SingleObserver}'s method must happen in a serialized fashion, that is, they must not
2929
* be invoked concurrently by multiple threads in an overlapping fashion and the invocation pattern must
3030
* adhere to the following protocol:
31-
* <p>
3231
* <pre><code> onSubscribe (onSuccess | onError)?</code></pre>
3332
* <p>
3433
* Subscribing a {@code SingleObserver} to multiple {@code SingleSource}s is not recommended. If such reuse

0 commit comments

Comments
 (0)