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

findbugs category displayed incorrectly

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Critical Critical
    • findbugs-plugin
    • None
    • Platform: All, OS: All

      findbugs plugin 3.3 with Hudson 1.2.8. Using either ant or maven, hudson
      displays the findbugs category incorrectly for about every bug found in its web
      gui. They all list as the same category.

      Here is a snippet from the findbugs.xml ant output:

      <BugInstance type="DM_NUMBER_CTOR" priority="2" abbrev="Bx"
      category="PERFORMANCE" instanceHash="378152c0e424a062f5fccad83e7ec543"
      instanceOccurrenceNum="0" instanceOccurrenceMax="0">

      Here is a snippet from the findbugs web gui for the same bug (notice the wrong
      category:

      File: OntProfileDetailPanel.java, Line: 214, Type: DM_NUMBER_CTOR, Priority:
      Normal, Category: CORRECTNESS
      Method
      com.quantumbridge.client.devicemgr.configpage.axs.R6_2_0_0.OntProfileDetailPanel.setUserValues(QBConfigUserObject)
      invokes inefficient new Integer(int) constructor; use Integer.valueOf(int) instead

            drulli Ulli Hafner
            jweden jweden
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: