You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by bu...@apache.org on 2003/10/08 21:55:09 UTC
DO NOT REPLY [Bug 23683] New: -
New method for converting a primitive Class to its corresponding wrapper Class
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=23683>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND
INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=23683
New method for converting a primitive Class to its corresponding wrapper Class
Summary: New method for converting a primitive Class to its
corresponding wrapper Class
Product: Commons
Version: 2.0 Final
Platform: Other
OS/Version: Other
Status: NEW
Severity: Enhancement
Priority: Other
Component: Lang
AssignedTo: commons-dev@jakarta.apache.org
ReportedBy: ndeane01@yahoo.com
I've created a patch which adds a new method to ClassUtils which will convert
each of the primitive classes (Boolean.TYPE, Integer.TYPE, Double.TYPE, etc) to
their corresponding wrapper Class (Boolean.class, Integer.class, Double.class,
etc). The patch includes test cases.
---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org