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: [email protected]
ReportedBy: [email protected]
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: [email protected]
For additional commands, e-mail: [email protected]