mirror of
https://github.com/spring-projects/spring-framework
synced 2026-06-08 17:33:33 +00:00
Harmonize RuntimeHintsRegistrar implementations
Closes gh-28801
This commit is contained in:
+1
-1
@@ -27,7 +27,7 @@ import org.springframework.lang.Nullable;
|
||||
* @author Stephane Nicoll
|
||||
* @since 6.0
|
||||
*/
|
||||
class MediaTypeResourceHintsRegistrar implements RuntimeHintsRegistrar {
|
||||
class HttpMimeTypesRuntimeHints implements RuntimeHintsRegistrar {
|
||||
|
||||
@Override
|
||||
public void registerHints(RuntimeHints hints, @Nullable ClassLoader classLoader) {
|
||||
+1
-1
@@ -31,7 +31,7 @@ import org.springframework.lang.Nullable;
|
||||
* @author Sebastien Deleuze
|
||||
* @since 6.0
|
||||
*/
|
||||
public class CodecConfigurerHintsRegistrar implements RuntimeHintsRegistrar {
|
||||
class CodecConfigurerRuntimeHints implements RuntimeHintsRegistrar {
|
||||
|
||||
@Override
|
||||
public void registerHints(RuntimeHints hints, @Nullable ClassLoader classLoader) {
|
||||
+2
-1
@@ -29,7 +29,8 @@ import org.springframework.aot.hint.TypeReference;
|
||||
* @author Sebastien Deleuze
|
||||
* @since 6.0
|
||||
*/
|
||||
public class JacksonBuilderRuntimeHintsRegistrar implements RuntimeHintsRegistrar {
|
||||
class JacksonModulesRuntimeHints implements RuntimeHintsRegistrar {
|
||||
|
||||
@Override
|
||||
public void registerHints(RuntimeHints hints, ClassLoader classLoader) {
|
||||
ReflectionHints reflectionHints = hints.reflection();
|
||||
Reference in New Issue
Block a user