[
https://issues.apache.org/jira/browse/TAMAYA-328?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16361479#comment-16361479
]
ASF subversion and git services commented on TAMAYA-328:
--------------------------------------------------------
Commit a606c878003a954d8888dc66aaf891f6193e3149 in incubator-tamaya's branch
refs/heads/master from [~wlieurance]
[ https://git-wip-us.apache.org/repos/asf?p=incubator-tamaya.git;h=a606c87 ]
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.
> Single apostrophe cannot be cast to Character with CharConverter
> ----------------------------------------------------------------
>
> Key: TAMAYA-328
> URL: https://issues.apache.org/jira/browse/TAMAYA-328
> Project: Tamaya
> Issue Type: Bug
> Reporter: William Lieurance
> Priority: Major
>
> 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.
> I've got a test case and a patch I'll push up to github for this. I've not
> found any other single characters that cannot be used.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)