"toString()" should never be called on a String object

Closes gh-12452
This commit is contained in:
igor-suhorukov 2018-03-13 00:50:58 +03:00 committed by Stephane Nicoll
parent e561db4072
commit 12185251c1
1 changed files with 1 additions and 1 deletions

View File

@ -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);
}