Incorporated pull request feedback:

* moved to jenkins.util.SystemProperties
* consistent naming getString/getInteger/getBoolean
* improved code formatting
Improved JavaDoc
This commit is contained in:
Johannes Ernst committed 2015-11-18 18:26:41 +00:00
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();
}