Skip to content

Commit

Permalink
fix format
Browse files Browse the repository at this point in the history
  • Loading branch information
jcarranzan committed Aug 29, 2024
1 parent 68c884b commit 471377b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,8 @@ public boolean isReadable(Class<?> aClass, Type type, Annotation[] annotations,

@Override
public CityListDTO readFrom(Class<CityListDTO> cityListDTOClass, Type type, Annotation[] annotations, MediaType mediaType,
MultivaluedMap<String, String> multivaluedMap,
InputStream inputStream) {
MultivaluedMap<String, String> multivaluedMap,
InputStream inputStream) {

try {
Log.info("Parsing yaml input: " + inputStream.toString() + " TYPE " + type.getTypeName() + " MEDIATYPE "
Expand All @@ -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<String, Object> multivaluedMap,
OutputStream outputStream) throws IOException, WebApplicationException {
MultivaluedMap<String, Object> multivaluedMap,
OutputStream outputStream) throws IOException, WebApplicationException {
Log.info("outputStream " + outputStream.toString() + " TYPE " + type.getTypeName() + " MEDIATYPE "
+ mediaType.getSubtype());
mapper.writeValue(outputStream, cityListDTO);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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() {
Expand Down

0 comments on commit 471377b

Please sign in to comment.