mirror of
https://github.com/jenkinsci/jenkins.git
synced 2026-10-30 04:55:21 +00:00
Minor refactorings either for performance or readability (#4845)
Co-authored-by: Oleg Nenashev <o.v.nenashev@gmail.com>
This commit is contained in:
1 parent
859f01f5ad
commit
463cd113ba
12 files changed
+23
-19
No files matched your search
@@ -221,7 +221,7 @@ public class PluginWrapper implements Comparable<PluginWrapper>, ModelObject {
|
||||
* The core can depend on a plugin if it is bundled. Sometimes it's the only thing that
|
||||
* depends on the plugin e.g. UI support library bundle plugin.
|
||||
*/
|
||||
private static Set<String> CORE_ONLY_DEPENDANT = ImmutableSet.copyOf(Arrays.asList("jenkins-core"));
|
||||
private static Set<String> CORE_ONLY_DEPENDANT = ImmutableSet.copyOf(Collections.singletonList("jenkins-core"));
|
||||
|
||||
/**
|
||||
* Set the list of components that depend on this plugin.
|
||||
|
||||
Reference in new issue
Block a user