提交 39b7a248 编写于 作者: K kohsuke

this is inconsistent with Items.all()

git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@35981 71c3de6d-444a-0410-be80-ed276b4c234a
上级 aded9afb
......@@ -89,7 +89,7 @@ public abstract class TopLevelItemDescriptor extends Descriptor<TopLevelItem> {
* Returns all the registered {@link TopLevelItem} descriptors.
*/
public static ExtensionList<TopLevelItemDescriptor> all() {
return Hudson.getInstance().getExtensionList(TopLevelItemDescriptor.class);
return Items.all();
}
}
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册