mirror of
https://github.com/jenkinsci/jenkins.git
synced 2026-11-07 09:06:03 +00:00
Using ExtensionList.lookup consistently.
This commit is contained in:
1 parent
d025cfbd4a
commit
4a98beaf64
75 files changed
+102
-108
No files matched your search
@@ -913,7 +913,7 @@ public class Functions {
|
||||
* @since 1.494
|
||||
*/
|
||||
public static Collection<Descriptor> getSortedDescriptorsForGlobalConfig(Predicate<GlobalConfigurationCategory> predicate) {
|
||||
ExtensionList<Descriptor> exts = Jenkins.getInstance().getExtensionList(Descriptor.class);
|
||||
ExtensionList<Descriptor> exts = ExtensionList.lookup(Descriptor.class);
|
||||
List<Tag> r = new ArrayList<Tag>(exts.size());
|
||||
|
||||
for (ExtensionComponent<Descriptor> c : exts.getComponents()) {
|
||||
|
||||
Reference in new issue
Block a user