commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jamessawle <...@git.apache.org>
Subject [GitHub] commons-lang pull request: LANG-1050 Added new generic emptyToNull...
Date Thu, 16 Oct 2014 22:35:57 GMT
GitHub user jamessawle opened a pull request:

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

    LANG-1050 Added new generic emptyToNull array method

    Based upon the comments in [JIRA](https://issues.apache.org/jira/browse/LANG-1050), I
have implemented a new generic defensive programming method for handling null arrays. The
current object methods have been modified to use the method to reduce maintenance. The wrapper
(and Object and Class) empty arrays have been deprecated as are no longer needed; however,
are kept to maintain binary compatibility.

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

    $ git pull https://github.com/jamessawle/commons-lang LANG-1050

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

    https://github.com/apache/commons-lang/pull/31.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 #31
    
----
commit f1016b4d7a48910bc014b15afe897b6112c631cd
Author: James Sawle <jamessawle@hotmail.com>
Date:   2014-10-16T22:27:57Z

    LANG-1050 Added new generic method, added 3 tests and deprecated Object based empty arrays.

----


---
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.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
For additional commands, e-mail: dev-help@commons.apache.org


Mime
View raw message