From dbfad70f9846f6c900e2f09d855efb473d643b02 Mon Sep 17 00:00:00 2001 From: Julien Viet Date: Wed, 27 Mar 2024 19:47:23 +0100 Subject: [PATCH] Set version to 4.5.8-SNAPSHOT --- pom.xml | 4 +-- vertx-lang-kotlin-coroutines/pom.xml | 2 +- vertx-lang-kotlin-gen/pom.xml | 2 +- vertx-lang-kotlin/pom.xml | 2 +- .../io/vertx/kotlin/core/file/AsyncFile.kt | 28 +++++++++---------- .../vertx/kotlin/core/http/ClientWebSocket.kt | 28 +++++++++---------- .../vertx/kotlin/core/http/ServerWebSocket.kt | 28 +++++++++---------- .../io/vertx/kotlin/core/http/WebSocket.kt | 28 +++++++++---------- .../vertx/kotlin/core/http/WebSocketBase.kt | 28 +++++++++---------- .../io/vertx/kotlin/core/net/NetSocket.kt | 20 ++++++------- .../ext/web/handler/sockjs/SockJSSocket.kt | 26 ++++++++--------- 11 files changed, 98 insertions(+), 98 deletions(-) diff --git a/pom.xml b/pom.xml index 85f1248d..cda00542 100644 --- a/pom.xml +++ b/pom.xml @@ -10,7 +10,7 @@ vertx-lang-kotlin-parent - 4.5.7 + 4.5.8-SNAPSHOT pom @@ -24,7 +24,7 @@ 1.6.4 1.7.21 4.13.2 - 4.5.7 + 4.5.8-SNAPSHOT diff --git a/vertx-lang-kotlin-coroutines/pom.xml b/vertx-lang-kotlin-coroutines/pom.xml index dc7d7f38..38d9a142 100644 --- a/vertx-lang-kotlin-coroutines/pom.xml +++ b/vertx-lang-kotlin-coroutines/pom.xml @@ -7,7 +7,7 @@ vertx-lang-kotlin-parent io.vertx - 4.5.7 + 4.5.8-SNAPSHOT diff --git a/vertx-lang-kotlin-gen/pom.xml b/vertx-lang-kotlin-gen/pom.xml index 81a03513..10666081 100644 --- a/vertx-lang-kotlin-gen/pom.xml +++ b/vertx-lang-kotlin-gen/pom.xml @@ -8,7 +8,7 @@ vertx-lang-kotlin-parent io.vertx - 4.5.7 + 4.5.8-SNAPSHOT vertx-lang-kotlin-gen diff --git a/vertx-lang-kotlin/pom.xml b/vertx-lang-kotlin/pom.xml index f22d1551..2430bd1c 100644 --- a/vertx-lang-kotlin/pom.xml +++ b/vertx-lang-kotlin/pom.xml @@ -8,7 +8,7 @@ vertx-lang-kotlin-parent io.vertx - 4.5.7 + 4.5.8-SNAPSHOT vertx-lang-kotlin diff --git a/vertx-lang-kotlin/src/main/kotlin/io/vertx/kotlin/core/file/AsyncFile.kt b/vertx-lang-kotlin/src/main/kotlin/io/vertx/kotlin/core/file/AsyncFile.kt index 7da3fdf9..cfd5bedb 100644 --- a/vertx-lang-kotlin/src/main/kotlin/io/vertx/kotlin/core/file/AsyncFile.kt +++ b/vertx-lang-kotlin/src/main/kotlin/io/vertx/kotlin/core/file/AsyncFile.kt @@ -21,20 +21,6 @@ import io.vertx.core.file.AsyncFileLock import io.vertx.core.streams.WriteStream import io.vertx.kotlin.coroutines.awaitResult -/** - * Suspending version of method [io.vertx.core.file.AsyncFile.pipeTo] - * - * @param dst the destination write stream - * - * NOTE: This function has been automatically generated from [io.vertx.core.file.AsyncFile] using Vert.x codegen. - */ -@Deprecated(message = "Instead use pipeTo returning a future and chain with await()", replaceWith = ReplaceWith("pipeTo(dst).await()")) -suspend fun AsyncFile.pipeToAwait(dst: WriteStream): Unit { - return awaitResult { - this.pipeTo(dst, io.vertx.core.Handler { ar -> it.handle(ar.mapEmpty()) }) - } -} - /** * Suspending version of method [io.vertx.core.file.AsyncFile.write] * @@ -76,6 +62,20 @@ suspend fun AsyncFile.endAwait(data: Buffer): Unit { } } +/** + * Suspending version of method [io.vertx.core.file.AsyncFile.pipeTo] + * + * @param dst the destination write stream + * + * NOTE: This function has been automatically generated from [io.vertx.core.file.AsyncFile] using Vert.x codegen. + */ +@Deprecated(message = "Instead use pipeTo returning a future and chain with await()", replaceWith = ReplaceWith("pipeTo(dst).await()")) +suspend fun AsyncFile.pipeToAwait(dst: WriteStream): Unit { + return awaitResult { + this.pipeTo(dst, io.vertx.core.Handler { ar -> it.handle(ar.mapEmpty()) }) + } +} + /** * Suspending version of method [io.vertx.core.file.AsyncFile.close] * diff --git a/vertx-lang-kotlin/src/main/kotlin/io/vertx/kotlin/core/http/ClientWebSocket.kt b/vertx-lang-kotlin/src/main/kotlin/io/vertx/kotlin/core/http/ClientWebSocket.kt index 467eaa79..6fae76ae 100644 --- a/vertx-lang-kotlin/src/main/kotlin/io/vertx/kotlin/core/http/ClientWebSocket.kt +++ b/vertx-lang-kotlin/src/main/kotlin/io/vertx/kotlin/core/http/ClientWebSocket.kt @@ -23,20 +23,6 @@ import io.vertx.core.http.WebSocketFrame import io.vertx.core.streams.WriteStream import io.vertx.kotlin.coroutines.awaitResult -/** - * Suspending version of method [io.vertx.core.http.ClientWebSocket.pipeTo] - * - * @param dst the destination write stream - * - * NOTE: This function has been automatically generated from [io.vertx.core.http.ClientWebSocket] using Vert.x codegen. - */ -@Deprecated(message = "Instead use pipeTo returning a future and chain with await()", replaceWith = ReplaceWith("pipeTo(dst).await()")) -suspend fun ClientWebSocket.pipeToAwait(dst: WriteStream): Unit { - return awaitResult { - this.pipeTo(dst, io.vertx.core.Handler { ar -> it.handle(ar.mapEmpty()) }) - } -} - /** * Suspending version of method [io.vertx.core.http.ClientWebSocket.write] * @@ -65,6 +51,20 @@ suspend fun ClientWebSocket.endAwait(data: Buffer): Unit { } } +/** + * Suspending version of method [io.vertx.core.http.ClientWebSocket.pipeTo] + * + * @param dst the destination write stream + * + * NOTE: This function has been automatically generated from [io.vertx.core.http.ClientWebSocket] using Vert.x codegen. + */ +@Deprecated(message = "Instead use pipeTo returning a future and chain with await()", replaceWith = ReplaceWith("pipeTo(dst).await()")) +suspend fun ClientWebSocket.pipeToAwait(dst: WriteStream): Unit { + return awaitResult { + this.pipeTo(dst, io.vertx.core.Handler { ar -> it.handle(ar.mapEmpty()) }) + } +} + /** * Suspending version of method [io.vertx.core.http.ClientWebSocket.end] * diff --git a/vertx-lang-kotlin/src/main/kotlin/io/vertx/kotlin/core/http/ServerWebSocket.kt b/vertx-lang-kotlin/src/main/kotlin/io/vertx/kotlin/core/http/ServerWebSocket.kt index 72db40c1..27569b62 100644 --- a/vertx-lang-kotlin/src/main/kotlin/io/vertx/kotlin/core/http/ServerWebSocket.kt +++ b/vertx-lang-kotlin/src/main/kotlin/io/vertx/kotlin/core/http/ServerWebSocket.kt @@ -22,20 +22,6 @@ import io.vertx.core.http.WebSocketFrame import io.vertx.core.streams.WriteStream import io.vertx.kotlin.coroutines.awaitResult -/** - * Suspending version of method [io.vertx.core.http.ServerWebSocket.pipeTo] - * - * @param dst the destination write stream - * - * NOTE: This function has been automatically generated from [io.vertx.core.http.ServerWebSocket] using Vert.x codegen. - */ -@Deprecated(message = "Instead use pipeTo returning a future and chain with await()", replaceWith = ReplaceWith("pipeTo(dst).await()")) -suspend fun ServerWebSocket.pipeToAwait(dst: WriteStream): Unit { - return awaitResult { - this.pipeTo(dst, io.vertx.core.Handler { ar -> it.handle(ar.mapEmpty()) }) - } -} - /** * Suspending version of method [io.vertx.core.http.ServerWebSocket.write] * @@ -64,6 +50,20 @@ suspend fun ServerWebSocket.endAwait(data: Buffer): Unit { } } +/** + * Suspending version of method [io.vertx.core.http.ServerWebSocket.pipeTo] + * + * @param dst the destination write stream + * + * NOTE: This function has been automatically generated from [io.vertx.core.http.ServerWebSocket] using Vert.x codegen. + */ +@Deprecated(message = "Instead use pipeTo returning a future and chain with await()", replaceWith = ReplaceWith("pipeTo(dst).await()")) +suspend fun ServerWebSocket.pipeToAwait(dst: WriteStream): Unit { + return awaitResult { + this.pipeTo(dst, io.vertx.core.Handler { ar -> it.handle(ar.mapEmpty()) }) + } +} + /** * Suspending version of method [io.vertx.core.http.ServerWebSocket.end] * diff --git a/vertx-lang-kotlin/src/main/kotlin/io/vertx/kotlin/core/http/WebSocket.kt b/vertx-lang-kotlin/src/main/kotlin/io/vertx/kotlin/core/http/WebSocket.kt index b2ca078f..3feaabfc 100644 --- a/vertx-lang-kotlin/src/main/kotlin/io/vertx/kotlin/core/http/WebSocket.kt +++ b/vertx-lang-kotlin/src/main/kotlin/io/vertx/kotlin/core/http/WebSocket.kt @@ -21,20 +21,6 @@ import io.vertx.core.http.WebSocketFrame import io.vertx.core.streams.WriteStream import io.vertx.kotlin.coroutines.awaitResult -/** - * Suspending version of method [io.vertx.core.http.WebSocket.pipeTo] - * - * @param dst the destination write stream - * - * NOTE: This function has been automatically generated from [io.vertx.core.http.WebSocket] using Vert.x codegen. - */ -@Deprecated(message = "Instead use pipeTo returning a future and chain with await()", replaceWith = ReplaceWith("pipeTo(dst).await()")) -suspend fun WebSocket.pipeToAwait(dst: WriteStream): Unit { - return awaitResult { - this.pipeTo(dst, io.vertx.core.Handler { ar -> it.handle(ar.mapEmpty()) }) - } -} - /** * Suspending version of method [io.vertx.core.http.WebSocket.write] * @@ -63,6 +49,20 @@ suspend fun WebSocket.endAwait(data: Buffer): Unit { } } +/** + * Suspending version of method [io.vertx.core.http.WebSocket.pipeTo] + * + * @param dst the destination write stream + * + * NOTE: This function has been automatically generated from [io.vertx.core.http.WebSocket] using Vert.x codegen. + */ +@Deprecated(message = "Instead use pipeTo returning a future and chain with await()", replaceWith = ReplaceWith("pipeTo(dst).await()")) +suspend fun WebSocket.pipeToAwait(dst: WriteStream): Unit { + return awaitResult { + this.pipeTo(dst, io.vertx.core.Handler { ar -> it.handle(ar.mapEmpty()) }) + } +} + /** * Suspending version of method [io.vertx.core.http.WebSocket.end] * diff --git a/vertx-lang-kotlin/src/main/kotlin/io/vertx/kotlin/core/http/WebSocketBase.kt b/vertx-lang-kotlin/src/main/kotlin/io/vertx/kotlin/core/http/WebSocketBase.kt index 8f7de6de..b97caba8 100644 --- a/vertx-lang-kotlin/src/main/kotlin/io/vertx/kotlin/core/http/WebSocketBase.kt +++ b/vertx-lang-kotlin/src/main/kotlin/io/vertx/kotlin/core/http/WebSocketBase.kt @@ -21,20 +21,6 @@ import io.vertx.core.http.WebSocketFrame import io.vertx.core.streams.WriteStream import io.vertx.kotlin.coroutines.awaitResult -/** - * Suspending version of method [io.vertx.core.http.WebSocketBase.pipeTo] - * - * @param dst the destination write stream - * - * NOTE: This function has been automatically generated from [io.vertx.core.http.WebSocketBase] using Vert.x codegen. - */ -@Deprecated(message = "Instead use pipeTo returning a future and chain with await()", replaceWith = ReplaceWith("pipeTo(dst).await()")) -suspend fun WebSocketBase.pipeToAwait(dst: WriteStream): Unit { - return awaitResult { - this.pipeTo(dst, io.vertx.core.Handler { ar -> it.handle(ar.mapEmpty()) }) - } -} - /** * Suspending version of method [io.vertx.core.http.WebSocketBase.write] * @@ -63,6 +49,20 @@ suspend fun WebSocketBase.endAwait(data: Buffer): Unit { } } +/** + * Suspending version of method [io.vertx.core.http.WebSocketBase.pipeTo] + * + * @param dst the destination write stream + * + * NOTE: This function has been automatically generated from [io.vertx.core.http.WebSocketBase] using Vert.x codegen. + */ +@Deprecated(message = "Instead use pipeTo returning a future and chain with await()", replaceWith = ReplaceWith("pipeTo(dst).await()")) +suspend fun WebSocketBase.pipeToAwait(dst: WriteStream): Unit { + return awaitResult { + this.pipeTo(dst, io.vertx.core.Handler { ar -> it.handle(ar.mapEmpty()) }) + } +} + /** * Suspending version of method [io.vertx.core.http.WebSocketBase.writeFrame] * diff --git a/vertx-lang-kotlin/src/main/kotlin/io/vertx/kotlin/core/net/NetSocket.kt b/vertx-lang-kotlin/src/main/kotlin/io/vertx/kotlin/core/net/NetSocket.kt index 96e8d5b1..2c709d58 100644 --- a/vertx-lang-kotlin/src/main/kotlin/io/vertx/kotlin/core/net/NetSocket.kt +++ b/vertx-lang-kotlin/src/main/kotlin/io/vertx/kotlin/core/net/NetSocket.kt @@ -21,30 +21,30 @@ import io.vertx.core.streams.WriteStream import io.vertx.kotlin.coroutines.awaitResult /** - * Suspending version of method [io.vertx.core.net.NetSocket.pipeTo] + * Suspending version of method [io.vertx.core.net.NetSocket.end] * - * @param dst the destination write stream + * @param data * * NOTE: This function has been automatically generated from [io.vertx.core.net.NetSocket] using Vert.x codegen. */ -@Deprecated(message = "Instead use pipeTo returning a future and chain with await()", replaceWith = ReplaceWith("pipeTo(dst).await()")) -suspend fun NetSocket.pipeToAwait(dst: WriteStream): Unit { +@Deprecated(message = "Instead use end returning a future and chain with await()", replaceWith = ReplaceWith("end(data).await()")) +suspend fun NetSocket.endAwait(data: Buffer): Unit { return awaitResult { - this.pipeTo(dst, io.vertx.core.Handler { ar -> it.handle(ar.mapEmpty()) }) + this.end(data, io.vertx.core.Handler { ar -> it.handle(ar.mapEmpty()) }) } } /** - * Suspending version of method [io.vertx.core.net.NetSocket.end] + * Suspending version of method [io.vertx.core.net.NetSocket.pipeTo] * - * @param data + * @param dst the destination write stream * * NOTE: This function has been automatically generated from [io.vertx.core.net.NetSocket] using Vert.x codegen. */ -@Deprecated(message = "Instead use end returning a future and chain with await()", replaceWith = ReplaceWith("end(data).await()")) -suspend fun NetSocket.endAwait(data: Buffer): Unit { +@Deprecated(message = "Instead use pipeTo returning a future and chain with await()", replaceWith = ReplaceWith("pipeTo(dst).await()")) +suspend fun NetSocket.pipeToAwait(dst: WriteStream): Unit { return awaitResult { - this.end(data, io.vertx.core.Handler { ar -> it.handle(ar.mapEmpty()) }) + this.pipeTo(dst, io.vertx.core.Handler { ar -> it.handle(ar.mapEmpty()) }) } } diff --git a/vertx-lang-kotlin/src/main/kotlin/io/vertx/kotlin/ext/web/handler/sockjs/SockJSSocket.kt b/vertx-lang-kotlin/src/main/kotlin/io/vertx/kotlin/ext/web/handler/sockjs/SockJSSocket.kt index ff02fbc5..e5e2f68b 100644 --- a/vertx-lang-kotlin/src/main/kotlin/io/vertx/kotlin/ext/web/handler/sockjs/SockJSSocket.kt +++ b/vertx-lang-kotlin/src/main/kotlin/io/vertx/kotlin/ext/web/handler/sockjs/SockJSSocket.kt @@ -21,43 +21,43 @@ import io.vertx.ext.web.handler.sockjs.SockJSSocket import io.vertx.kotlin.coroutines.awaitResult /** - * Suspending version of method [io.vertx.ext.web.handler.sockjs.SockJSSocket.pipeTo] + * Suspending version of method [io.vertx.ext.web.handler.sockjs.SockJSSocket.end] * - * @param dst the destination write stream * * NOTE: This function has been automatically generated from [io.vertx.ext.web.handler.sockjs.SockJSSocket] using Vert.x codegen. */ -@Deprecated(message = "Instead use pipeTo returning a future and chain with await()", replaceWith = ReplaceWith("pipeTo(dst).await()")) -suspend fun SockJSSocket.pipeToAwait(dst: WriteStream): Unit { +@Deprecated(message = "Instead use end returning a future and chain with await()", replaceWith = ReplaceWith("end().await()")) +suspend fun SockJSSocket.endAwait(): Unit { return awaitResult { - this.pipeTo(dst, io.vertx.core.Handler { ar -> it.handle(ar.mapEmpty()) }) + this.end(io.vertx.core.Handler { ar -> it.handle(ar.mapEmpty()) }) } } /** * Suspending version of method [io.vertx.ext.web.handler.sockjs.SockJSSocket.end] * + * @param data * * NOTE: This function has been automatically generated from [io.vertx.ext.web.handler.sockjs.SockJSSocket] using Vert.x codegen. */ -@Deprecated(message = "Instead use end returning a future and chain with await()", replaceWith = ReplaceWith("end().await()")) -suspend fun SockJSSocket.endAwait(): Unit { +@Deprecated(message = "Instead use end returning a future and chain with await()", replaceWith = ReplaceWith("end(data).await()")) +suspend fun SockJSSocket.endAwait(data: Buffer): Unit { return awaitResult { - this.end(io.vertx.core.Handler { ar -> it.handle(ar.mapEmpty()) }) + this.end(data, io.vertx.core.Handler { ar -> it.handle(ar.mapEmpty()) }) } } /** - * Suspending version of method [io.vertx.ext.web.handler.sockjs.SockJSSocket.end] + * Suspending version of method [io.vertx.ext.web.handler.sockjs.SockJSSocket.pipeTo] * - * @param data + * @param dst the destination write stream * * NOTE: This function has been automatically generated from [io.vertx.ext.web.handler.sockjs.SockJSSocket] using Vert.x codegen. */ -@Deprecated(message = "Instead use end returning a future and chain with await()", replaceWith = ReplaceWith("end(data).await()")) -suspend fun SockJSSocket.endAwait(data: Buffer): Unit { +@Deprecated(message = "Instead use pipeTo returning a future and chain with await()", replaceWith = ReplaceWith("pipeTo(dst).await()")) +suspend fun SockJSSocket.pipeToAwait(dst: WriteStream): Unit { return awaitResult { - this.end(data, io.vertx.core.Handler { ar -> it.handle(ar.mapEmpty()) }) + this.pipeTo(dst, io.vertx.core.Handler { ar -> it.handle(ar.mapEmpty()) }) } }