You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tamaya.apache.org by "William Lieurance (JIRA)" <ji...@apache.org> on 2018/02/12 01:38:00 UTC
[jira] [Created] (TAMAYA-328) Single apostrophe cannot be cast to
Character with CharConverter
William Lieurance created TAMAYA-328:
----------------------------------------
Summary: 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
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)
Re: [jira] [Created] (TAMAYA-328) Single apostrophe cannot be cast to
Character with CharConverter
Posted by Philipp Ottlinger <ot...@aiki-it.de>.
Interesting catch - I merged the PR but am unable to login
to Jira to close the bugticket and give it a proper version.
Sorry,
Phil
Am 12.02.2018 um 02:38 schrieb William Lieurance (JIRA):
> William Lieurance created TAMAYA-328:
> ----------------------------------------
>
> Summary: 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
>
>
> 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)
>
--
Dipl. Inform. Philipp Ottlinger
Freie Software - Netzwerke - Informationssysteme
http://www.aiki-it.de