Skip to content

Commit

Permalink
3.x: Make DisposableContainer public API (#6745)
Browse files Browse the repository at this point in the history
  • Loading branch information
akarnokd authored Dec 3, 2019
1 parent 445def8 commit e912237
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@

import io.reactivex.rxjava3.annotations.NonNull;
import io.reactivex.rxjava3.exceptions.*;
import io.reactivex.rxjava3.internal.disposables.DisposableContainer;
import io.reactivex.rxjava3.internal.functions.ObjectHelper;
import io.reactivex.rxjava3.internal.util.*;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,7 @@
* the License for the specific language governing permissions and limitations under the License.
*/

package io.reactivex.rxjava3.internal.disposables;

import io.reactivex.rxjava3.disposables.Disposable;
package io.reactivex.rxjava3.disposables;

/**
* Common interface to add and remove disposables from a container.
Expand All @@ -38,7 +36,7 @@ public interface DisposableContainer {
boolean remove(Disposable d);

/**
* Removes (but does not dispose) the given disposable if it is part of this
* Removes but does not dispose the given disposable if it is part of this
* container.
* @param d the disposable to remove, not null
* @return true if the operation was successful
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@

import java.util.*;

import io.reactivex.rxjava3.disposables.Disposable;
import io.reactivex.rxjava3.disposables.*;
import io.reactivex.rxjava3.exceptions.*;
import io.reactivex.rxjava3.internal.functions.ObjectHelper;
import io.reactivex.rxjava3.internal.util.ExceptionHelper;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@

import io.reactivex.rxjava3.annotations.*;
import io.reactivex.rxjava3.core.Scheduler;
import io.reactivex.rxjava3.disposables.Disposable;
import io.reactivex.rxjava3.disposables.*;
import io.reactivex.rxjava3.internal.disposables.*;
import io.reactivex.rxjava3.plugins.RxJavaPlugins;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,7 @@
import java.util.concurrent.*;
import java.util.concurrent.atomic.AtomicReferenceArray;

import io.reactivex.rxjava3.disposables.Disposable;
import io.reactivex.rxjava3.internal.disposables.DisposableContainer;
import io.reactivex.rxjava3.disposables.*;
import io.reactivex.rxjava3.plugins.RxJavaPlugins;

public final class ScheduledRunnable extends AtomicReferenceArray<Object>
Expand Down

0 comments on commit e912237

Please sign in to comment.