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

Murtaza Hassan commented on MCHECKSTYLE-356:
--------------------------------------------

[~jagadish.prasath] and others, 
Can i get some pointers on this how to approach this ticket and which file to 
look for the changes because i have searched from my side but didnt understand 
where to make the changes. 

Thanks. 

> print the checkstyle violations in descending order of line number
> ------------------------------------------------------------------
>
>                 Key: MCHECKSTYLE-356
>                 URL: https://issues.apache.org/jira/browse/MCHECKSTYLE-356
>             Project: Maven Checkstyle Plugin
>          Issue Type: Improvement
>          Components: checkstyle:checkstyle
>            Reporter: Jagadish Prasath Ramu
>            Priority: Major
>
> By default, the report form checkstyle prints the errors as it is found from 
> beginning to end of file i.e.,
>  
> e.g:
> Line 5: Unused import
> Line 10: Missing space etc.,
>  
> Instead, it would be better if the report is printed in the reverse order 
> e.g:
> Line 10: Missing space etc.,
> Line 5: Unused import.
>  
> As we fix the issues one by one, we end up changing the code and the line 
> number changes. It results in missing the exact line number in which the 
> remaining errors has occurred. So, we end up running the checkstyle multiple 
> times. Instead, if there is an option to print the results in descending 
> order (of a file's line number), it might help to avoid this inconvenience. 



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)

Reply via email to