mirror of
https://github.com/jenkinsci/jenkins.git
synced 2026-11-13 20:12:14 +00:00
Use Java 11 methods where possible (#6700)
This commit is contained in:
1 parent
1a6d9f079d
commit
6d179998e1
148 files changed
+419
-527
No files matched your search
@@ -930,7 +930,7 @@ public abstract class PluginManager extends AbstractModelObject implements OnMas
|
||||
if (batch != null) {
|
||||
batch.add(p);
|
||||
} else {
|
||||
start(Collections.singletonList(p));
|
||||
start(List.of(p));
|
||||
}
|
||||
|
||||
} catch (Exception e) {
|
||||
|
||||
Reference in new issue
Block a user