11// remove the excessive whitespaces between method arguments in the javadocs
22task javadocCleanup (dependsOn : " javadoc" ) doLast {
3- fixJavadocFile(rootProject. file(' build/docs/javadoc/io/reactivex/rxjava3 /core/Flowable.html' ))
4- fixJavadocFile(rootProject. file(' build/docs/javadoc/io/reactivex/rxjava3 /core/Observable.html' ))
5- fixJavadocFile(rootProject. file(' build/docs/javadoc/io/reactivex/rxjava3 /core/Single.html' ))
6- fixJavadocFile(rootProject. file(' build/docs/javadoc/io/reactivex/rxjava3 /core/Maybe.html' ))
7- fixJavadocFile(rootProject. file(' build/docs/javadoc/io/reactivex/rxjava3 /core/Completable.html' ))
8-
9- fixJavadocFile(rootProject. file(' build/docs/javadoc/io/reactivex/rxjava3 /flowables/ConnectableFlowable.html' ))
10- fixJavadocFile(rootProject. file(' build/docs/javadoc/io/reactivex/rxjava3 /observables/ConnectableObservable.html' ))
11-
12- fixJavadocFile(rootProject. file(' build/docs/javadoc/io/reactivex/rxjava3 /subjects/ReplaySubject.html' ))
13- fixJavadocFile(rootProject. file(' build/docs/javadoc/io/reactivex/rxjava3 /processors/ReplayProcessor.html' ))
14- fixJavadocFile(rootProject. file(' build/docs/javadoc/io/reactivex/rxjava3 /subjects/PublishSubject.html' ))
15- fixJavadocFile(rootProject. file(' build/docs/javadoc/io/reactivex/rxjava3 /processors/PublishProcessor.html' ))
16- fixJavadocFile(rootProject. file(' build/docs/javadoc/io/reactivex/rxjava3 /subjects/AsyncSubject.html' ))
17- fixJavadocFile(rootProject. file(' build/docs/javadoc/io/reactivex/rxjava3 /processors/AsyncProcessor.html' ))
18- fixJavadocFile(rootProject. file(' build/docs/javadoc/io/reactivex/rxjava3 /subjects/BehaviorSubject.html' ))
19- fixJavadocFile(rootProject. file(' build/docs/javadoc/io/reactivex/rxjava3 /processors/BehaviorProcessor.html' ))
20- fixJavadocFile(rootProject. file(' build/docs/javadoc/io/reactivex/rxjava3 /processors/MulticastProcessor.html' ))
21- fixJavadocFile(rootProject. file(' build/docs/javadoc/io/reactivex/rxjava3 /subjects/UnicastSubject.html' ))
22- fixJavadocFile(rootProject. file(' build/docs/javadoc/io/reactivex/rxjava3 /processors/UnicastProcessor.html' ))
23-
24- fixJavadocFile(rootProject. file(' build/docs/javadoc/io/reactivex/rxjava3 /plugins/RxJavaPlugins.html' ))
25-
26- fixJavadocFile(rootProject. file(' build/docs/javadoc/io/reactivex/rxjava3 /parallel/ParallelFlowable.html' ))
27-
28- fixJavadocFile(rootProject. file(' build/docs/javadoc/io/reactivex/rxjava3 /disposables/Disposable.html' ))
3+ fixJavadocFile(rootProject. file(' build/docs/javadoc/io/reactivex/rxjava4 /core/Flowable.html' ))
4+ fixJavadocFile(rootProject. file(' build/docs/javadoc/io/reactivex/rxjava4 /core/Observable.html' ))
5+ fixJavadocFile(rootProject. file(' build/docs/javadoc/io/reactivex/rxjava4 /core/Single.html' ))
6+ fixJavadocFile(rootProject. file(' build/docs/javadoc/io/reactivex/rxjava4 /core/Maybe.html' ))
7+ fixJavadocFile(rootProject. file(' build/docs/javadoc/io/reactivex/rxjava4 /core/Completable.html' ))
8+
9+ fixJavadocFile(rootProject. file(' build/docs/javadoc/io/reactivex/rxjava4 /flowables/ConnectableFlowable.html' ))
10+ fixJavadocFile(rootProject. file(' build/docs/javadoc/io/reactivex/rxjava4 /observables/ConnectableObservable.html' ))
11+
12+ fixJavadocFile(rootProject. file(' build/docs/javadoc/io/reactivex/rxjava4 /subjects/ReplaySubject.html' ))
13+ fixJavadocFile(rootProject. file(' build/docs/javadoc/io/reactivex/rxjava4 /processors/ReplayProcessor.html' ))
14+ fixJavadocFile(rootProject. file(' build/docs/javadoc/io/reactivex/rxjava4 /subjects/PublishSubject.html' ))
15+ fixJavadocFile(rootProject. file(' build/docs/javadoc/io/reactivex/rxjava4 /processors/PublishProcessor.html' ))
16+ fixJavadocFile(rootProject. file(' build/docs/javadoc/io/reactivex/rxjava4 /subjects/AsyncSubject.html' ))
17+ fixJavadocFile(rootProject. file(' build/docs/javadoc/io/reactivex/rxjava4 /processors/AsyncProcessor.html' ))
18+ fixJavadocFile(rootProject. file(' build/docs/javadoc/io/reactivex/rxjava4 /subjects/BehaviorSubject.html' ))
19+ fixJavadocFile(rootProject. file(' build/docs/javadoc/io/reactivex/rxjava4 /processors/BehaviorProcessor.html' ))
20+ fixJavadocFile(rootProject. file(' build/docs/javadoc/io/reactivex/rxjava4 /processors/MulticastProcessor.html' ))
21+ fixJavadocFile(rootProject. file(' build/docs/javadoc/io/reactivex/rxjava4 /subjects/UnicastSubject.html' ))
22+ fixJavadocFile(rootProject. file(' build/docs/javadoc/io/reactivex/rxjava4 /processors/UnicastProcessor.html' ))
23+
24+ fixJavadocFile(rootProject. file(' build/docs/javadoc/io/reactivex/rxjava4 /plugins/RxJavaPlugins.html' ))
25+
26+ fixJavadocFile(rootProject. file(' build/docs/javadoc/io/reactivex/rxjava4 /parallel/ParallelFlowable.html' ))
27+
28+ fixJavadocFile(rootProject. file(' build/docs/javadoc/io/reactivex/rxjava4 /disposables/Disposable.html' ))
2929
30- fixJavadocFile(rootProject. file(' build/docs/javadoc/io/reactivex/rxjava3 /observers/TestObserver.html' ))
31- fixJavadocFile(rootProject. file(' build/docs/javadoc/io/reactivex/rxjava3 /observers/BaseTestConsumer.html' ))
32- fixJavadocFile(rootProject. file(' build/docs/javadoc/io/reactivex/rxjava3 /subscribers/TestSubscriber.html' ))
30+ fixJavadocFile(rootProject. file(' build/docs/javadoc/io/reactivex/rxjava4 /observers/TestObserver.html' ))
31+ fixJavadocFile(rootProject. file(' build/docs/javadoc/io/reactivex/rxjava4 /observers/BaseTestConsumer.html' ))
32+ fixJavadocFile(rootProject. file(' build/docs/javadoc/io/reactivex/rxjava4 /subscribers/TestSubscriber.html' ))
3333}
3434
3535def fixJavadocFile (file ) {
@@ -52,7 +52,7 @@ def fixJavadocFile(file) {
5252 fileContents = fileContents. replace(nonNullText1 + " \n " + nonNullText1, nonNullText1)
5353 fileContents = fileContents. replace(nonNullText1 + " \r\n " + nonNullText1, nonNullText1)
5454
55- def nonNullText2 = " <a href=\" ../../../../io/reactivex/rxjava3 /annotations/NonNull.html\" title=\" annotation in io.reactivex.rxjava4.annotations\" >@NonNull</a>"
55+ def nonNullText2 = " <a href=\" ../../../../io/reactivex/rxjava4 /annotations/NonNull.html\" title=\" annotation in io.reactivex.rxjava4.annotations\" >@NonNull</a>"
5656 fileContents = fileContents. replace(nonNullText2 + " " + nonNullText2, nonNullText2)
5757 fileContents = fileContents. replace(nonNullText2 + " \n " + nonNullText2, nonNullText2)
5858 fileContents = fileContents. replace(nonNullText2 + " \r\n " + nonNullText2, nonNullText2)
@@ -64,7 +64,7 @@ def fixJavadocFile(file) {
6464 fileContents = fileContents. replace(nullableText1 + " \n " + nullableText1, nullableText1)
6565 fileContents = fileContents. replace(nullableText1 + " \r\n " + nullableText1, nullableText1)
6666
67- def nullableText2 = " <a href=\" ../../../../io/reactivex/rxjava3 /annotations/Nullable.html\" title=\" annotation in io.reactivex.rxjava4.annotations\" >@Nullable</a>"
67+ def nullableText2 = " <a href=\" ../../../../io/reactivex/rxjava4 /annotations/Nullable.html\" title=\" annotation in io.reactivex.rxjava4.annotations\" >@Nullable</a>"
6868
6969 fileContents = fileContents. replace(nullableText2 + " " + nullableText2, nullableText2)
7070 fileContents = fileContents. replace(nullableText2 + " \n " + nullableText2, nullableText2)
0 commit comments