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

2.x: Remove trailing whitespace #4496

Merged
merged 1 commit into from
Sep 7, 2016
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
6 changes: 3 additions & 3 deletions src/main/java/io/reactivex/BackpressureStrategy.java
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
/**
* Copyright 2016 Netflix, Inc.
*
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in
* compliance with the License. You may obtain a copy of the License at
*
*
* http://www.apache.org/licenses/LICENSE-2.0
*
*
* Unless required by applicable law or agreed to in writing, software distributed under the License is
* distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See
* the License for the specific language governing permissions and limitations under the License.
206 changes: 103 additions & 103 deletions src/main/java/io/reactivex/Completable.java

Large diffs are not rendered by default.

14 changes: 7 additions & 7 deletions src/main/java/io/reactivex/CompletableEmitter.java
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
/**
* Copyright 2016 Netflix, Inc.
*
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in
* compliance with the License. You may obtain a copy of the License at
*
*
* http://www.apache.org/licenses/LICENSE-2.0
*
*
* Unless required by applicable law or agreed to in writing, software distributed under the License is
* distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See
* the License for the specific language governing permissions and limitations under the License.
@@ -30,27 +30,27 @@ public interface CompletableEmitter {
* Signal the completion.
*/
void onComplete();

/**
* Signal an exception.
* @param t the exception, not null
*/
void onError(Throwable t);

/**
* Sets a Disposable on this emitter; any previous Disposable
* or Cancellation will be unsubscribed/cancelled.
* @param d the disposable, null is allowed
*/
void setDisposable(Disposable d);

/**
* Sets a Cancellable on this emitter; any previous Disposable
* or Cancellation will be unsubscribed/cancelled.
* @param c the cancellable resource, null is allowed
*/
void setCancellable(Cancellable c);

/**
* Returns true if the downstream disposed the sequence.
* @return true if the downstream disposed the sequence
8 changes: 4 additions & 4 deletions src/main/java/io/reactivex/CompletableObserver.java
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
/**
* Copyright 2016 Netflix, Inc.
*
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in
* compliance with the License. You may obtain a copy of the License at
*
*
* http://www.apache.org/licenses/LICENSE-2.0
*
*
* Unless required by applicable law or agreed to in writing, software distributed under the License is
* distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See
* the License for the specific language governing permissions and limitations under the License.
@@ -30,7 +30,7 @@ public interface CompletableObserver {
* Called once the deferred computation completes normally.
*/
void onComplete();

/**
* Called once if the deferred computation 'throws' an exception.
* @param e the exception, not null.
8 changes: 4 additions & 4 deletions src/main/java/io/reactivex/CompletableOnSubscribe.java
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
/**
* Copyright 2016 Netflix, Inc.
*
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in
* compliance with the License. You may obtain a copy of the License at
*
*
* http://www.apache.org/licenses/LICENSE-2.0
*
*
* Unless required by applicable law or agreed to in writing, software distributed under the License is
* distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See
* the License for the specific language governing permissions and limitations under the License.
@@ -18,7 +18,7 @@
* an event in a cancellation-safe manner.
*/
public interface CompletableOnSubscribe {

/**
* Called for each CompletableObserver that subscribes.
* @param e the safe emitter instance, never null
10 changes: 5 additions & 5 deletions src/main/java/io/reactivex/CompletableSource.java
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
/**
* Copyright 2016 Netflix, Inc.
*
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in
* compliance with the License. You may obtain a copy of the License at
*
*
* http://www.apache.org/licenses/LICENSE-2.0
*
*
* Unless required by applicable law or agreed to in writing, software distributed under the License is
* distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See
* the License for the specific language governing permissions and limitations under the License.
@@ -15,11 +15,11 @@
/**
* Represents a basic {@link Completable} source base interface,
* consumable via an {@link CompletableObserver}.
*
*
* @since 2.0
*/
public interface CompletableSource {

/**
* Subscribes the given CompletableObserver to this CompletableSource instance.
* @param cs the CompletableObserver, not null
10 changes: 5 additions & 5 deletions src/main/java/io/reactivex/Emitter.java
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
/**
* Copyright 2016 Netflix, Inc.
*
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in
* compliance with the License. You may obtain a copy of the License at
*
*
* http://www.apache.org/licenses/LICENSE-2.0
*
*
* Unless required by applicable law or agreed to in writing, software distributed under the License is
* distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See
* the License for the specific language governing permissions and limitations under the License.
@@ -25,13 +25,13 @@ public interface Emitter<T> {
* @param value the value to signal, not null
*/
void onNext(T value);

/**
* Signal a Throwable exception.
* @param error the Throwable to signal, not null
*/
void onError(Throwable error);

/**
* Signal a completion.
*/
Loading