You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tamaya.apache.org by peculater <gi...@git.apache.org> on 2018/11/29 10:41:08 UTC
[GitHub] incubator-tamaya pull request #28: EnumConverter works with null values
GitHub user peculater opened a pull request:
https://github.com/apache/incubator-tamaya/pull/28
EnumConverter works with null values
Previously, EnumConverter would throw an NPE if passed a null value, but
only because of an attempted .toUpperCase() which didn't get caught.
This commit now passes null values through instead of throwing NPE.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/peculater/incubator-tamaya enumconverter-vs-null
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/incubator-tamaya/pull/28.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 #28
----
commit e977ab2e3add7d2eaae9923ee7339b65d47a8a3e
Author: William Lieurance <wi...@...>
Date: 2018-11-29T09:46:53Z
EnumConverter works with null values
Previously, EnumConverter would throw an NPE if passed a null value, but
only because of an attempted .toUpperCase() which didn't get caught.
This commit now passes null values through instead of throwing NPE.
----
---
[GitHub] incubator-tamaya pull request #28: EnumConverter works with null values
Posted by asfgit <gi...@git.apache.org>.
Github user asfgit closed the pull request at:
https://github.com/apache/incubator-tamaya/pull/28
---