GitHub user jacktan1991 opened a pull request:

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

    ReflectionToStringBuilder doesn't throw IllegalArgumentException when the 
constructor's object param is null

    As described in it's 
[javadoc](http://commons.apache.org/proper/commons-lang/javadocs/api-release/org/apache/commons/lang3/builder/ReflectionToStringBuilder.html#ReflectionToStringBuilder(java.lang.Object)),
 ReflectionToStringBuilder constructor will throw IllegalArgumentException if 
the Object to build a toStringfor is null, while in fact it won't.

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

    $ git pull https://github.com/jacktan1991/commons-lang master

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

    https://github.com/apache/commons-lang/pull/85.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 #85
    
----
commit 474a837858a8e7a98316f97e9ed387d0161015f2
Author: Jack <[email protected]>
Date:   2015-05-06T03:10:11Z

    add testConstructorWithNullObject case in ReflectionToStringBuilderTest.java

----


---
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 [email protected] or file a JIRA ticket
with INFRA.
---

Reply via email to