You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by henryptung <gi...@git.apache.org> on 2016/05/23 02:00:34 UTC

[GitHub] commons-lang pull request: LANG-1214 Handle "void" in ClassUtils.g...

GitHub user henryptung opened a pull request:

    https://github.com/apache/commons-lang/pull/155

    LANG-1214 Handle "void" in ClassUtils.getClass()

    `getClass()` previously deferred to an array type to get the class,
    but this fails for `void`, which lacks an array type.
    Instead, map explicitly from primitive name to primitive class.
    
    Added unit test line fails before change, passes after change.

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/henryptung/commons-lang lang-1214-getclass-void

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/commons-lang/pull/155.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #155
    
----
commit 792f75436b81e9941bcd30b31dc3ad4424de602a
Author: Henry Tung <ht...@stanford.edu>
Date:   2016-05-23T01:45:49Z

    LANG-1214 Handle "void" in ClassUtils.getClass()
    
    getClass() previously deferred to an array type to get the class,
    but this fails for void, which lacks an array type.
    Instead, map explicitly from primitive name to primitive class.

----


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

[GitHub] commons-lang issue #155: LANG-1214 Handle "void" in ClassUtils.getClass()

Posted by PascalSchumacher <gi...@git.apache.org>.
Github user PascalSchumacher commented on the issue:

    https://github.com/apache/commons-lang/pull/155
  
    Thanks!


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

[GitHub] commons-lang pull request #155: LANG-1214 Handle "void" in ClassUtils.getCla...

Posted by asfgit <gi...@git.apache.org>.
Github user asfgit closed the pull request at:

    https://github.com/apache/commons-lang/pull/155


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---