Skip to content

Commit

Permalink
Typo in Javadoc: Vert.s
Browse files Browse the repository at this point in the history
Fixes #4731

Signed-off-by: Thomas Segismont <[email protected]>
  • Loading branch information
tsegismont committed Jun 12, 2023
1 parent 585323f commit f496856
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 10 deletions.
5 changes: 2 additions & 3 deletions src/main/java/io/vertx/core/TimeoutStream.java
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,9 @@
* the timer.
*
* @author <a href="mailto:[email protected]">Julien Viet</a>
* @deprecated instead using {@link Vertx#setTimer}/{@link Vertx#setPeriodic}, Rx java like integrations should use
* the Vert.s scheduler integration
* @deprecated use {@link Vertx#setTimer}/{@link Vertx#setPeriodic} instead. RxJava like integrations should use the Vert.x scheduler integration.
*/
@Deprecated()
@Deprecated
@VertxGen
public interface TimeoutStream extends ReadStream<Long> {

Expand Down
11 changes: 4 additions & 7 deletions src/main/java/io/vertx/core/Vertx.java
Original file line number Diff line number Diff line change
Expand Up @@ -274,10 +274,9 @@ default DatagramSocket createDatagramSocket() {
* Returns a one-shot timer as a read stream. The timer will be fired after {@code delay} milliseconds after
* the {@link ReadStream#handler} has been called.
*
* @param delay the delay in milliseconds, after which the timer will fire
* @param delay the delay in milliseconds, after which the timer will fire
* @return the timer stream
* @deprecated instead using {@link Vertx#setTimer}, Rx java like integrations should use
* the Vert.s scheduler integration
* @deprecated use {@link Vertx#setTimer} instead. RxJava like integrations should use the Vert.x scheduler integration.
*/
@Deprecated
TimeoutStream timerStream(long delay);
Expand Down Expand Up @@ -311,8 +310,7 @@ default long setPeriodic(long delay, Handler<Long> handler) {
*
* @param delay the delay in milliseconds, after which the timer will fire
* @return the periodic stream
* @deprecated instead using {@link Vertx#setPeriodic}, Rx java like integrations should use
* the Vert.s scheduler integration
* @deprecated use {@link Vertx#setPeriodic} instead. RxJava like integrations should use the Vert.x scheduler integration.
*/
@Deprecated
default TimeoutStream periodicStream(long delay) {
Expand All @@ -326,8 +324,7 @@ default TimeoutStream periodicStream(long delay) {
* @param initialDelay the initial delay in milliseconds
* @param delay the delay in milliseconds, after which the timer will fire
* @return the periodic stream
* @deprecated instead using {@link Vertx#setPeriodic}, Rx java like integrations should use
* the Vert.s scheduler integration
* @deprecated use {@link Vertx#setPeriodic} instead. RxJava like integrations should use the Vert.x scheduler integration.
*/
@Deprecated
TimeoutStream periodicStream(long initialDelay, long delay);
Expand Down

0 comments on commit f496856

Please sign in to comment.