Commit 12185251 authored by igor-suhorukov's avatar igor-suhorukov Committed by Stephane Nicoll

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

Closes gh-12452
parent e561db40
...@@ -168,7 +168,7 @@ public class DispatcherServletsMappingDescriptionProvider ...@@ -168,7 +168,7 @@ public class DispatcherServletsMappingDescriptionProvider
private DispatcherServletMappingDescription describe( private DispatcherServletMappingDescription describe(
Entry<String, Object> mapping) { Entry<String, Object> mapping) {
return new DispatcherServletMappingDescription(mapping.getKey().toString(), return new DispatcherServletMappingDescription(mapping.getKey(),
mapping.getValue().toString(), null); mapping.getValue().toString(), null);
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment