Avoid deprecated findbugs annotations (#2144)

* Avoid deprecated findbugs annotations

* One more forgotten annotation
This commit is contained in:
Oliver Gondža authored and Oleg Nenashev committed 2016-10-15 12:53:56 -07:00
1 parent b2627ed312
commit 7f6f495f86
18 files changed
+27 -37

No files matched your search

+1 -1
View File
@@ -291,7 +291,7 @@ public 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")
@edu.umd.cs.findbugs.annotations.SuppressFBWarnings("LG_LOST_LOGGER_DUE_TO_WEAK_REFERENCE")
private void installLogger() {
Jenkins.logRecords = handler.getView();
Logger.getLogger("").addHandler(handler);