mirror of
https://github.com/jenkinsci/jenkins.git
synced 2026-11-07 09:06:03 +00:00
Java can infer types for <>
This commit is contained in:
1 parent
c0ee577183
commit
003e525b79
51 files changed
+58
-58
No files matched your search
@@ -316,7 +316,7 @@ public class ClassicPluginStrategy implements PluginStrategy {
|
||||
List<ExtensionFinder> finders;
|
||||
if (type==ExtensionFinder.class) {
|
||||
// Avoid infinite recursion of using ExtensionFinders to find ExtensionFinders
|
||||
finders = Collections.<ExtensionFinder>singletonList(new ExtensionFinder.Sezpoz());
|
||||
finders = Collections.singletonList(new ExtensionFinder.Sezpoz());
|
||||
} else {
|
||||
finders = hudson.getExtensionList(ExtensionFinder.class);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user