mirror of
https://github.com/jenkinsci/jenkins.git
synced 2026-11-13 20:12:14 +00:00
Avoid deprecated findbugs annotations (#2144)
* Avoid deprecated findbugs annotations * One more forgotten annotation
This commit is contained in:
1 parent
b2627ed312
commit
7f6f495f86
18 files changed
+27
-37
No files matched your search
@@ -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);
|
||||
|
||||
Reference in new issue
Block a user