Skip to content

Commit 2bbd3dc

Browse files
committed
Added missing header and fixed javadoc link
1 parent 1a55fdd commit 2bbd3dc

File tree

3 files changed

+27
-1
lines changed

3 files changed

+27
-1
lines changed

src/main/java/io/reactivex/observables/ConnectableObservable.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ protected ConnectableObservable(Publisher<T> onSubscribe) {
5555
* Instructs the {@code ConnectableObservable} to begin emitting the items from its underlying
5656
* {@link Observable} to its {@link Subscriber}s.
5757
* <p>
58-
* To disconnect from a synchronous source, use the {@link #connect(rx.functions.Action1)} method.
58+
* To disconnect from a synchronous source, use the {@link #connect(java.util.function.Consumer)} method.
5959
*
6060
* @return the subscription representing the connection
6161
* @see <a href="http://reactivex.io/documentation/operators/connect.html">ReactiveX documentation: Connect</a>

src/test/java/io/reactivex/MergeTests.java

+13
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,16 @@
1+
/**
2+
* Copyright 2015 Netflix, Inc.
3+
*
4+
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in
5+
* compliance with the License. You may obtain a copy of the License at
6+
*
7+
* http://www.apache.org/licenses/LICENSE-2.0
8+
*
9+
* Unless required by applicable law or agreed to in writing, software distributed under the License is
10+
* distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See
11+
* the License for the specific language governing permissions and limitations under the License.
12+
*/
13+
114
package io.reactivex;
215

316
import static org.junit.Assert.*;

src/test/java/io/reactivex/ObservableConversionTest.java

+13
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,16 @@
1+
/**
2+
* Copyright 2015 Netflix, Inc.
3+
*
4+
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in
5+
* compliance with the License. You may obtain a copy of the License at
6+
*
7+
* http://www.apache.org/licenses/LICENSE-2.0
8+
*
9+
* Unless required by applicable law or agreed to in writing, software distributed under the License is
10+
* distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See
11+
* the License for the specific language governing permissions and limitations under the License.
12+
*/
13+
114
package io.reactivex;
215

316
import java.util.*;

0 commit comments

Comments
 (0)