mirror of
https://github.com/jenkinsci/jenkins.git
synced 2026-11-13 20:12:14 +00:00
FindBugs bug cleanup
This commit is contained in:
1 parent
b6d700e5a4
commit
9522cecfe3
19 files changed
+51
-159
No files matched your search
@@ -260,6 +260,7 @@ public final class WebAppMain implements ServletContextListener {
|
||||
/**
|
||||
* Installs log handler to monitor all Hudson logs.
|
||||
*/
|
||||
@edu.umd.cs.findbugs.annotations.SuppressWarnings("LG_LOST_LOGGER_DUE_TO_WEAK_REFERENCE")
|
||||
private void installLogger() {
|
||||
Jenkins.logRecords = handler.getView();
|
||||
Logger.getLogger("hudson").addHandler(handler);
|
||||
|
||||
Reference in new issue
Block a user