Sebb created LANG-979:
-------------------------

             Summary: TypeUtils.parameterizeWithOwner - wrong format descriptor 
for "invalid number of type parameters"
                 Key: LANG-979
                 URL: https://issues.apache.org/jira/browse/LANG-979
             Project: Commons Lang
          Issue Type: Bug
            Reporter: Sebb
            Priority: Minor


The TypeUtils.parameterizeWithOwner method uses the following format string:

"invalid number of type parameters specified: expected %s, got %s"

with parameters that are actually ints.

This means that the parameters are boxed into Integers and then converted to 
Strings by the formatter.

Seems to me it would make more sense to either create the Strings directly from 
the ints, or box the ints and use "%d" for the place holders.



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

Reply via email to