You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Andrei Demidov (Jira)" <ji...@apache.org> on 2021/11/15 09:16:00 UTC

[jira] [Commented] (IGNITE-15348) Checkstyle should check whitespace after cast token.

    [ https://issues.apache.org/jira/browse/IGNITE-15348?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17443664#comment-17443664 ] 

Andrei Demidov commented on IGNITE-15348:
-----------------------------------------

Hello! I would like to help with this task. Could you please assign it to me, if possible

> Checkstyle should check whitespace after cast token. 
> -----------------------------------------------------
>
>                 Key: IGNITE-15348
>                 URL: https://issues.apache.org/jira/browse/IGNITE-15348
>             Project: Ignite
>          Issue Type: New Feature
>            Reporter: Maksim Timonin
>            Priority: Major
>              Labels: newbie
>
> According to Ignite code style [1]  there shouldn't a whitespace after the ")" token. Let's add check for that.
>  
> Solution is add the TYPECAST token to the NoWhitespaceAfter  module
> <module name="NoWhitespaceAfter">
>  <property name="tokens" value="AT, INC, DEC, UNARY_MINUS, UNARY_PLUS, BNOT, LNOT, DOT, ARRAY_DECLARATOR,
>  INDEX_OP, METHOD_REF, TYPECAST"/>
> </module>
>  
> Also it is required to fix all issues within repo.
>  
> [1] https://cwiki.apache.org/confluence/display/IGNITE/Coding+Guidelines#CodingGuidelines-Whitespacesandemptylines



--
This message was sent by Atlassian Jira
(v8.20.1#820001)