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

FindBugs plugin doesn't show localized tooltips in the detail tab

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Component/s: findbugs-plugin
    • Labels:
      None
    • Environment:
      Platform: All, OS: All
    • Similar Issues:

      Description

      FindBugs plugin doesn't show localized tooltips in the detail tab.

      Only the first line of each warning is localized(Japanse, in my environment) but
      the detail message is in English.

      For Example,
      ============================================================================
      File: Xxxxxx.java, Line: 13, Type: DLS_DEAD_LOCAL_STORE, Priority:
      Normal, Category: CORRECTNESS

      XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX <- Only this
      line, Japanese message

      This instruction assigns a value to a local variable, but the value is
      not read or used in any subsequent instruction.

      Often, this indicates an error, because the value computed is never used.

      Note that Sun's javac compiler often generates dead stores for final
      local variables. Because FindBugs is a bytecode-

      based tool, there is no easy way to eliminate these false positives.
      ============================================================================

      hopefully show detail messages in the localized language.

        Attachments

          Activity

          Hide
          scm_issue_link SCM/JIRA link daemon added a comment -

          Code changed in hudson
          User: : drulli
          Path:
          trunk/hudson/plugins/findbugs/src/main/java/hudson/plugins/findbugs/FindBugsMessages.java
          http://fisheye4.cenqua.com/changelog/hudson/?cs=20902
          Log:
          [FIXED JENKINS-4149] Show localized findbugs message descriptions if available.

          Show
          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in hudson User: : drulli Path: trunk/hudson/plugins/findbugs/src/main/java/hudson/plugins/findbugs/FindBugsMessages.java http://fisheye4.cenqua.com/changelog/hudson/?cs=20902 Log: [FIXED JENKINS-4149] Show localized findbugs message descriptions if available.
          Hide
          akihirox Itou Akihiro added a comment -

          Now, this works very well with Hudson 1.392 & findbugs-plugin 4.15.
          Thank you!

          Show
          akihirox Itou Akihiro added a comment - Now, this works very well with Hudson 1.392 & findbugs-plugin 4.15. Thank you!

            People

            Assignee:
            drulli Ulli Hafner
            Reporter:
            akihirox Itou Akihiro
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: