From 5dc468892216d2a6b9f3e05dd4cfd5594a88da0b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michal=20Vav=C5=99=C3=ADk?= Date: Mon, 6 Jun 2022 00:01:01 +0200 Subject: [PATCH] Update 2.7 branch to use Quarkus 2.7.6 --- .../ts/http/restclient/reactive/files/FileResource.java | 6 +++--- lifecycle-application/pom.xml | 2 +- pom.xml | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/http/rest-client-reactive/src/main/java/io/quarkus/ts/http/restclient/reactive/files/FileResource.java b/http/rest-client-reactive/src/main/java/io/quarkus/ts/http/restclient/reactive/files/FileResource.java index 7973269740..617effbf7a 100644 --- a/http/rest-client-reactive/src/main/java/io/quarkus/ts/http/restclient/reactive/files/FileResource.java +++ b/http/rest-client-reactive/src/main/java/io/quarkus/ts/http/restclient/reactive/files/FileResource.java @@ -10,9 +10,9 @@ import javax.ws.rs.Path; import javax.ws.rs.Produces; import javax.ws.rs.core.MediaType; -import javax.ws.rs.core.Response; import org.jboss.resteasy.reactive.MultipartForm; +import org.jboss.resteasy.reactive.RestResponse; import io.quarkus.logging.Log; import io.smallrye.mutiny.Uni; @@ -51,10 +51,10 @@ public Uni uploadMultipart(@MultipartForm FileWrapper body) { @GET @Produces(MediaType.MULTIPART_FORM_DATA) @Path("/download-multipart") - public Response downloadMultipart() { + public RestResponse downloadMultipart() { FileWrapper wrapper = new FileWrapper(); wrapper.file = FILE; - return Response.ok(wrapper).build(); + return RestResponse.ok(wrapper); } @GET diff --git a/lifecycle-application/pom.xml b/lifecycle-application/pom.xml index 81db20c199..e9d4abb334 100644 --- a/lifecycle-application/pom.xml +++ b/lifecycle-application/pom.xml @@ -39,7 +39,7 @@ - 2.7.5.Final + 2.7.6.Final diff --git a/pom.xml b/pom.xml index 08702466ba..01d372fedf 100644 --- a/pom.xml +++ b/pom.xml @@ -18,7 +18,7 @@ 2.22.2 quarkus-bom io.quarkus - 2.7.5.Final + 2.7.6.Final 1.1.0.Final 0.32.0 2.6.1.Final