[jira] [Commented] (OFBIZ-11887) Checkstyle formatting issues: 'typecast' is not followed by whitespace.

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Commented] (OFBIZ-11887) Checkstyle formatting issues: 'typecast' is not followed by whitespace.

Nicolas Malin (Jira)

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

Jacques Le Roux commented on OFBIZ-11887:
-----------------------------------------

Hi Suraj,

I was unsure because we have a lot of them and I used to do the same (no space after cast). So I checked, both Oracle ((actually initially Sun) and Google say the same than you Suraj:
https://www.oracle.com/technetwork/java/javase/documentation/codeconventions-141388.html
https://google.github.io/styleguide/javaguide.html#s4.6-whitespace

I then tested the patches and they are OK with me: +1 for commit

> Checkstyle formatting issues: 'typecast' is not followed by whitespace.
> -----------------------------------------------------------------------
>
>                 Key: OFBIZ-11887
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-11887
>             Project: OFBiz
>          Issue Type: Sub-task
>          Components: ALL COMPONENTS
>    Affects Versions: Trunk
>            Reporter: Suraj Khurana
>            Assignee: Suraj Khurana
>            Priority: Major
>         Attachments: OFBIZ-11887-plugins.patch, OFBIZ-11887.patch
>
>




--
This message was sent by Atlassian Jira
(v8.3.4#803005)