From 471377bc145eb2fb37b6f8dec57820cc44f4c7b8 Mon Sep 17 00:00:00 2001 From: jcarranzan Date: Thu, 29 Aug 2024 13:05:22 +0200 Subject: [PATCH] fix format --- .../quarkus/ts/http/advanced/reactive/YamlProvider.java | 8 ++++---- .../http/advanced/reactive/HeaderMessageBodyWriterIT.java | 1 + 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/http/http-advanced-reactive/src/main/java/io/quarkus/ts/http/advanced/reactive/YamlProvider.java b/http/http-advanced-reactive/src/main/java/io/quarkus/ts/http/advanced/reactive/YamlProvider.java index 71841f419..9822ca63c 100644 --- a/http/http-advanced-reactive/src/main/java/io/quarkus/ts/http/advanced/reactive/YamlProvider.java +++ b/http/http-advanced-reactive/src/main/java/io/quarkus/ts/http/advanced/reactive/YamlProvider.java @@ -39,8 +39,8 @@ public boolean isReadable(Class aClass, Type type, Annotation[] annotations, @Override public CityListDTO readFrom(Class cityListDTOClass, Type type, Annotation[] annotations, MediaType mediaType, - MultivaluedMap multivaluedMap, - InputStream inputStream) { + MultivaluedMap multivaluedMap, + InputStream inputStream) { try { Log.info("Parsing yaml input: " + inputStream.toString() + " TYPE " + type.getTypeName() + " MEDIATYPE " @@ -59,8 +59,8 @@ public boolean isWriteable(Class type, Type genericType, Annotation[] annotat @Override public void writeTo(CityListDTO cityListDTO, Class aClass, Type type, Annotation[] annotations, MediaType mediaType, - MultivaluedMap multivaluedMap, - OutputStream outputStream) throws IOException, WebApplicationException { + MultivaluedMap multivaluedMap, + OutputStream outputStream) throws IOException, WebApplicationException { Log.info("outputStream " + outputStream.toString() + " TYPE " + type.getTypeName() + " MEDIATYPE " + mediaType.getSubtype()); mapper.writeValue(outputStream, cityListDTO); diff --git a/http/http-advanced-reactive/src/test/java/io/quarkus/ts/http/advanced/reactive/HeaderMessageBodyWriterIT.java b/http/http-advanced-reactive/src/test/java/io/quarkus/ts/http/advanced/reactive/HeaderMessageBodyWriterIT.java index fb4adac61..14857edb3 100644 --- a/http/http-advanced-reactive/src/test/java/io/quarkus/ts/http/advanced/reactive/HeaderMessageBodyWriterIT.java +++ b/http/http-advanced-reactive/src/test/java/io/quarkus/ts/http/advanced/reactive/HeaderMessageBodyWriterIT.java @@ -16,6 +16,7 @@ public class HeaderMessageBodyWriterIT { HeadersMessageBodyWriter.class, HeadersResource.class }, properties = "headers.properties") static RestService app = new RestService(); + @Test @Tag("https://github.com/quarkusio/quarkus/pull/41411") void testWithNoAcceptHeader() {