Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-6132

Warnings should be sorted by line numbers

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Component/s: findbugs-plugin
    • Labels:
      None
    • Similar Issues:

      Description

      When brawsing warnings for some file warnings should be sorted by line numbers for easier navigation.

      And every time when warnings are grouped by file, e.g. the whole warning list for some build, sorting inside group should be done by line numbers where appropriate.

        Attachments

          Issue Links

            Activity

            Hide
            drulli Ulli Hafner added a comment -

            In which view? Did you notice that the tables are sortable?

            Show
            drulli Ulli Hafner added a comment - In which view? Did you notice that the tables are sortable?
            Hide
            nikem Nikita Salnikov-Tarnovski added a comment -

            I click
            FindBugs Warnings->Files->select one file->Details tab
            The result is neither sorted nor sortable

            And
            FindBugs Warnings->Files->select one file->Warnings tab
            shows only 1 warning, I think that is what JENKINS-2780 is about.

            Show
            nikem Nikita Salnikov-Tarnovski added a comment - I click FindBugs Warnings->Files->select one file->Details tab The result is neither sorted nor sortable And FindBugs Warnings->Files->select one file->Warnings tab shows only 1 warning, I think that is what JENKINS-2780 is about.
            Hide
            scm_issue_link SCM/JIRA link daemon added a comment -

            Code changed in hudson
            User: : drulli
            Path:
            trunk/hudson/plugins/analysis-core/src/main/java/hudson/plugins/analysis/util/model/AbstractAnnotation.java
            trunk/hudson/plugins/analysis-core/src/main/resources/tabview/all.jelly
            trunk/hudson/plugins/analysis-core/src/test/java/hudson/plugins/analysis/util/model/WorkspaceFileTest.java
            http://jenkins-ci.org/commit/29829
            Log:
            [FIXED JENKINS-6139] [FIXED JENKINS-6132] Fixed compareTo() of warnings. Comparison is now done on filename, then line number, and finally hashCode.

            Show
            scm_issue_link SCM/JIRA link daemon added a comment - Code changed in hudson User: : drulli Path: trunk/hudson/plugins/analysis-core/src/main/java/hudson/plugins/analysis/util/model/AbstractAnnotation.java trunk/hudson/plugins/analysis-core/src/main/resources/tabview/all.jelly trunk/hudson/plugins/analysis-core/src/test/java/hudson/plugins/analysis/util/model/WorkspaceFileTest.java http://jenkins-ci.org/commit/29829 Log: [FIXED JENKINS-6139] [FIXED JENKINS-6132] Fixed compareTo() of warnings. Comparison is now done on filename, then line number, and finally hashCode.
            Hide
            scm_issue_link SCM/JIRA link daemon added a comment -

            Code changed in hudson
            User: : drulli
            Path:
            trunk/hudson/plugins/analysis-core/src/main/java/hudson/plugins/analysis/util/model/AbstractAnnotation.java
            trunk/hudson/plugins/analysis-core/src/main/resources/tabview/all.jelly
            trunk/hudson/plugins/analysis-core/src/test/java/hudson/plugins/analysis/util/model/WorkspaceFileTest.java
            http://jenkins-ci.org/commit/29829
            Log:
            [FIXED JENKINS-6139] [FIXED JENKINS-6132] Fixed compareTo() of warnings. Comparison is now done on filename, then line number, and finally hashCode.

            Show
            scm_issue_link SCM/JIRA link daemon added a comment - Code changed in hudson User: : drulli Path: trunk/hudson/plugins/analysis-core/src/main/java/hudson/plugins/analysis/util/model/AbstractAnnotation.java trunk/hudson/plugins/analysis-core/src/main/resources/tabview/all.jelly trunk/hudson/plugins/analysis-core/src/test/java/hudson/plugins/analysis/util/model/WorkspaceFileTest.java http://jenkins-ci.org/commit/29829 Log: [FIXED JENKINS-6139] [FIXED JENKINS-6132] Fixed compareTo() of warnings. Comparison is now done on filename, then line number, and finally hashCode.

              People

              • Assignee:
                drulli Ulli Hafner
                Reporter:
                nikem Nikita Salnikov-Tarnovski
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: