GitHub user peculater opened a pull request:
https://github.com/apache/incubator-tamaya/pull/12
TAMAYA-328: Let CharConverter parse a single apostrophe character
CharConverter uses paired apostrophes (') to delimit multi-character
strings and pulls the first into a Character object as needed. That
works great, but has made it to where a single apostrophe by itself
cannot be used directly. Entertainingly, "'''" works, but "'" throws an
exception. This adds a simple check if the string is 1 character long
after having determined that it starts with an apostrophe.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/peculater/incubator-tamaya TAMAYA-328
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/incubator-tamaya/pull/12.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 #12
commit a606c878003a954ddc66aaf891f6193e3149
Author: William Lieurance
Date: 2018-02-12T01:38:31Z
TAMAYA-328: Let CharConverter parse a single apostrophe character
CharConverter uses paired apostrophes (') to delimit multi-character
strings and pulls the first into a Character object as needed. That
works great, but has made it to where a single apostrophe by itself
cannot be used directly. Entertainingly, "'''" works, but "'" throws an
exception. This adds a simple check if the string is 1 character long
after having determined that it starts with an apostrophe.
---