You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Benson Margulies (JIRA)" <ji...@codehaus.org> on 2010/05/21 19:58:12 UTC
[jira] Created: (MCHECKSTYLE-137) Checkstyle plugin rejects Unicode
single character constants.
Checkstyle plugin rejects Unicode single character constants.
-------------------------------------------------------------
Key: MCHECKSTYLE-137
URL: http://jira.codehaus.org/browse/MCHECKSTYLE-137
Project: Maven 2.x Checkstyle Plugin
Issue Type: Bug
Affects Versions: 2.5
Reporter: Benson Margulies
Even with the encoding set to UTF-8 in the plugin configuration, the following is rejected, claiming that it found an invalid character while looking for a single quote.
if (script != ISO15924.Hira || c == 'の') {
break;
}
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] (MCHECKSTYLE-137) Checkstyle plugin rejects Unicode single
character constants.
Posted by "Dennis Lundberg (JIRA)" <ji...@codehaus.org>.
[ https://jira.codehaus.org/browse/MCHECKSTYLE-137?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=290583#comment-290583 ]
Dennis Lundberg commented on MCHECKSTYLE-137:
---------------------------------------------
Can you please try with the latest 2.9-SNAPSHOT version of the plugin?
I've committed a fix for MCHECKSTYLE-152 as part of it.
> Checkstyle plugin rejects Unicode single character constants.
> -------------------------------------------------------------
>
> Key: MCHECKSTYLE-137
> URL: https://jira.codehaus.org/browse/MCHECKSTYLE-137
> Project: Maven 2.x Checkstyle Plugin
> Issue Type: Bug
> Affects Versions: 2.5
> Reporter: Benson Margulies
>
> Even with the encoding set to UTF-8 in the plugin configuration, the following is rejected, claiming that it found an invalid character while looking for a single quote.
> if (script != ISO15924.Hira || c == 'の') {
> break;
> }
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://jira.codehaus.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira