Polishing

This commit is contained in:
Juergen Hoeller
2021-12-03 22:36:31 +01:00
parent d7e0eed8d2
commit 14f24f43d7
12 changed files with 31 additions and 43 deletions

View File

@@ -103,14 +103,6 @@ public class HandlerMappingIntrospector
}
/**
* Return the configured or detected {@code HandlerMapping}s.
*/
public List<HandlerMapping> getHandlerMappings() {
return (this.handlerMappings != null ? this.handlerMappings : Collections.emptyList());
}
@Override
public void setApplicationContext(ApplicationContext applicationContext) {
this.applicationContext = applicationContext;
@@ -125,6 +117,13 @@ public class HandlerMappingIntrospector
}
}
/**
* Return the configured or detected {@code HandlerMapping}s.
*/
public List<HandlerMapping> getHandlerMappings() {
return (this.handlerMappings != null ? this.handlerMappings : Collections.emptyList());
}
/**
* Find the {@link HandlerMapping} that would handle the given request and