mirror of
https://github.com/jenkinsci/jenkins.git
synced 2026-10-29 20:45:20 +00:00
Incorporated pull request feedback:
* moved to jenkins.util.SystemProperties * consistent naming getString/getInteger/getBoolean * improved code formatting Improved JavaDoc
This commit is contained in:
1 parent
4e79ceccdd
commit
9303136c9d
61 files changed
+151
-132
No files matched your search
@@ -24,6 +24,7 @@
|
||||
|
||||
package hudson;
|
||||
|
||||
import jenkins.util.SystemProperties;
|
||||
import jenkins.model.Jenkins;
|
||||
|
||||
import javax.servlet.ServletContext;
|
||||
@@ -60,7 +61,7 @@ public class LocalPluginManager extends PluginManager {
|
||||
@Override
|
||||
protected Collection<String> loadBundledPlugins() {
|
||||
// this is used in tests, when we want to override the default bundled plugins with .jpl (or .hpl) versions
|
||||
if (SystemProperties.getProperty("hudson.bundled.plugins") != null) {
|
||||
if (SystemProperties.getString("hudson.bundled.plugins") != null) {
|
||||
return Collections.emptySet();
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user