Polishing

This commit is contained in:
Juergen Hoeller
2021-10-08 20:41:51 +02:00
parent 4b01370f54
commit 87aaf5049b
4 changed files with 6 additions and 8 deletions

View File

@@ -157,12 +157,10 @@ public abstract class AbstractHandlerMethodMapping<T> extends AbstractHandlerMap
*/
@Override
public void afterPropertiesSet() {
initHandlerMethods();
// Total includes detected mappings + explicit registrations via registerMapping..
int total = this.getHandlerMethods().size();
// Total includes detected mappings + explicit registrations via registerMapping
int total = getHandlerMethods().size();
if ((logger.isTraceEnabled() && total == 0) || (logger.isDebugEnabled() && total > 0) ) {
logger.debug(total + " mappings in " + formatMappingName());
}