Skip to content

Commit

Permalink
Revert "Ensure that build time writers are properly sorted"
Browse files Browse the repository at this point in the history
This reverts commit fc76c76.
  • Loading branch information
geoand committed Oct 10, 2022
1 parent a37bb40 commit c441cc6
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -151,9 +151,7 @@ public List<MessageBodyWriter<?>> findBuildTimeWriters(Class<?> entityType, Runt
}

}
var resourceWriters = findResourceWriters(writers, klass, produces, runtimeType);
resourceWriters.sort(new ResourceWriter.ResourceWriterComparator(produces));
return toMessageBodyWriters(resourceWriters);
return toMessageBodyWriters(findResourceWriters(writers, klass, produces, runtimeType));
}

protected List<ResourceWriter> findResourceWriters(QuarkusMultivaluedMap<Class<?>, ResourceWriter> writers, Class<?> klass,
Expand Down

0 comments on commit c441cc6

Please sign in to comment.