FindBugs bug cleanup

This commit is contained in:
Kohsuke Kawaguchi committed 2011-08-23 23:16:53 -07:00
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);