Details
-
Bug
-
Status: Resolved (View Workflow)
-
Minor
-
Resolution: Fixed
-
None
Description
Current compareTo implementation inside AbstractAnnotation assumes that each line of code have just one annotation which is not always true. If that happens exception during sorting is thrown. Method can be overriden to use also e.g. annotation message and key but it would be best to use the column numbers which are unavailable for derived classes.
Integrated in
Jenkins Analysis Plug-ins (Compile) #609
[FIXED JENKINS-19047] Also use column position when comparing warnings. (Revision 8f00f2572e411591da0fc9e1f7b093543caaa253)
JENKINS-19047Make column part of public API of FileAnnotation. (Revision c4b4da266808e8bf4a3609960764f183ddc67a53)Result = SUCCESS