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.
Attachments
Activity
Field | Original Value | New Value |
---|---|---|
Resolution | Fixed [ 1 ] | |
Status | Open [ 1 ] | Resolved [ 5 ] |
Workflow | JNJira [ 150494 ] | JNJira + In-Review [ 193546 ] |
It would be good if also all existing parsers would be checked to see if they correctly assign the column number for a warning.