Uploaded image for project: 'Commons Lang'
  1. Commons Lang
  2. LANG-172

New method for converting a primitive Class to its corresponding wrapper Class

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 2.0
    • 2.1
    • None
    • None
    • Operating System: other
      Platform: Other

    • 23683

    Description

      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.

      Attachments

        Activity

          People

            Unassigned Unassigned
            ndeane01@yahoo.com Norm Deane
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: