提交 d025cfbd 编写于 作者: J Jesse Glick

Null safety.

上级 13018861
......@@ -62,6 +62,9 @@ public class NullIdDescriptorMonitor extends AdministrativeMonitor {
private void verify() {
Jenkins h = Jenkins.getInstance();
if (h == null) {
return;
}
for (Descriptor d : h.getExtensionList(Descriptor.class)) {
PluginWrapper p = h.getPluginManager().whichPlugin(d.getClass());
String id;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册