"toString()" should never be called on a String object
Closes gh-12452
This commit is contained in:
committed by
Stephane Nicoll
parent
e561db4072
commit
12185251c1
@@ -168,7 +168,7 @@ public class DispatcherServletsMappingDescriptionProvider
|
||||
|
||||
private DispatcherServletMappingDescription describe(
|
||||
Entry<String, Object> mapping) {
|
||||
return new DispatcherServletMappingDescription(mapping.getKey().toString(),
|
||||
return new DispatcherServletMappingDescription(mapping.getKey(),
|
||||
mapping.getValue().toString(), null);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user