[ 
https://issues.apache.org/jira/browse/MAHOUT-233?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12796774#action_12796774
 ] 

Jake Mannix commented on MAHOUT-233:
------------------------------------

{code}
String foo(int param1,
           Object param2,
           Float param3) throws Exception1,
                                Exception2
                                Exception3
{code}

Is there a reason why this is preferred over
{code}
String foo(int param1,
                  Object param2,
                  Float param3) throws Exception1,
                                                         Exception2
                                                         Exception3
{code}

lining up things that are the same is something I never understood why people 
didn't do more... (hi there, my OCD-tendencies!).  It makes it much easier on 
the eyes to scan down the row of parameters, just as you can scan right to left 
if they aren't wrapping.

> Modifying Mahout Check style to match our current coding style
> --------------------------------------------------------------
>
>                 Key: MAHOUT-233
>                 URL: https://issues.apache.org/jira/browse/MAHOUT-233
>             Project: Mahout
>          Issue Type: Task
>    Affects Versions: 0.3
>            Reporter: Robin Anil
>             Fix For: 0.3
>
>         Attachments: checkstyle-xml.patch, Eclipse-Codestyle.diff, 
> Eclipse-Mahout-Codestyle.xml
>
>
> Checkstyle currently throws a lot of errors for small things like 
> private static Logger log 
> if(booleanVar == false) // Required for readability 
> This task is created to track 
> how to match the checkstyle to relax certain rules and 
> changes in code for the strict ones

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to