Skip to content

Commit

Permalink
docs(framework): Fix docs on deprecated methods in Subscriber
Browse files Browse the repository at this point in the history
  • Loading branch information
Clashsoft committed Jul 31, 2024
1 parent de5c3da commit 32b9727
Showing 1 changed file with 3 additions and 12 deletions.
15 changes: 3 additions & 12 deletions framework/src/main/java/org/fulib/fx/controller/Subscriber.java
Original file line number Diff line number Diff line change
Expand Up @@ -233,10 +233,7 @@ public boolean isFresh() {
}

/**
* Adds a disposable to the composite disposable.
*
* @param d The disposable to add
* @return true if the disposable was added, false otherwise
* {@inheritDoc}
* @deprecated Use {@link #subscribe(Disposable)} instead
*/
@Deprecated
Expand All @@ -246,10 +243,7 @@ public boolean add(Disposable d) {
}

/**
* Adds a disposable to the composite disposable.
*
* @param d The disposable to add
* @return true if the disposable was added, false otherwise
* {@inheritDoc}
* @deprecated Removing disposables from the composite disposable should not be done manually.
*/
@Deprecated
Expand All @@ -259,10 +253,7 @@ public boolean remove(Disposable d) {
}

/**
* Adds a disposable to the composite disposable.
*
* @param d The disposable to add
* @return true if the disposable was added, false otherwise
* {@inheritDoc}
* @deprecated Deleting disposables from the composite disposable should not be done manually.
*/
@Deprecated
Expand Down

0 comments on commit 32b9727

Please sign in to comment.