[jira] [Updated] (LANG-979) TypeUtils.parameterizeWithOwner - wrong format descriptor for invalid number of type parameters

2015-04-18 Thread Bruno P. Kinoshita (JIRA)

 [ 
https://issues.apache.org/jira/browse/LANG-979?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Bruno P. Kinoshita updated LANG-979:

Fix Version/s: (was: Patch Needed)
   Review Patch

 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
  Components: lang.reflect.*
Reporter: Sebb
Priority: Minor
 Fix For: Review Patch

 Attachments: LANG-979.patch


 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.3.4#6332)


[jira] [Updated] (LANG-979) TypeUtils.parameterizeWithOwner - wrong format descriptor for invalid number of type parameters

2015-04-18 Thread Bruno P. Kinoshita (JIRA)

 [ 
https://issues.apache.org/jira/browse/LANG-979?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Bruno P. Kinoshita updated LANG-979:

Attachment: LANG-979.patch

Patch for LANG-979. No tests added as this fixes an exception handling message.

 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
  Components: lang.reflect.*
Reporter: Sebb
Priority: Minor
 Fix For: Review Patch

 Attachments: LANG-979.patch


 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.3.4#6332)


[jira] [Updated] (LANG-979) TypeUtils.parameterizeWithOwner - wrong format descriptor for invalid number of type parameters

2014-04-10 Thread Henri Yandell (JIRA)

 [ 
https://issues.apache.org/jira/browse/LANG-979?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Henri Yandell updated LANG-979:
---

Component/s: lang.reflect.*

 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
  Components: lang.reflect.*
Reporter: Sebb
Priority: Minor
 Fix For: Patch Needed


 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.2#6252)


[jira] [Updated] (LANG-979) TypeUtils.parameterizeWithOwner - wrong format descriptor for invalid number of type parameters

2014-03-23 Thread Henri Yandell (JIRA)

 [ 
https://issues.apache.org/jira/browse/LANG-979?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Henri Yandell updated LANG-979:
---

Fix Version/s: Patch Needed

 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
 Fix For: Patch Needed


 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.2#6252)