logging-log4j-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 46512] New: CategoryPath doesn't replace slashes to dots
Date Mon, 12 Jan 2009 14:07:19 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=46512

           Summary: CategoryPath doesn't replace slashes to dots
           Product: Log4j
           Version: 1.2
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: minor
          Priority: P2
         Component: Other
        AssignedTo: log4j-dev@logging.apache.org
        ReportedBy: pwes@o2.pl


Running FindBugs on log4j sources -- as part of preparing lecture, in fact --
revealed a bug in org.apache.log4j.lf5.viewer.categoryexplorer.CategoryPath.

In line 64 there is a code

  processedCategory.replace('/', '.');

and FindBugs correctly recognizes the error there as the result of replacement
is ignored. The line should be

  processedCategory = processedCategory.replace('/', '.');


-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: log4j-dev-unsubscribe@logging.apache.org
For additional commands, e-mail: log4j-dev-help@logging.apache.org


Mime
View raw message