Avoid unnecessary char[] allocation in NamedParameterUtils

Issue: SPR-11042
(cherry picked from commit 1dc7ff8)
Javadoc polishing