mirror of
https://github.com/jenkinsci/jenkins.git
synced 2026-11-13 20:12:14 +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
@@ -23,6 +23,7 @@
|
||||
*/
|
||||
package hudson;
|
||||
|
||||
import jenkins.util.SystemProperties;
|
||||
import com.thoughtworks.xstream.converters.reflection.PureJavaReflectionProvider;
|
||||
import com.thoughtworks.xstream.core.JVM;
|
||||
import com.trilead.ssh2.util.IOUtils;
|
||||
@@ -359,7 +360,7 @@ public class WebAppMain implements ServletContextListener {
|
||||
|
||||
// next the system property
|
||||
for (String name : HOME_NAMES) {
|
||||
String sysProp = SystemProperties.getProperty(name);
|
||||
String sysProp = SystemProperties.getString(name);
|
||||
if(sysProp!=null)
|
||||
return new FileAndDescription(new File(sysProp.trim()),"SystemProperties.getProperty(\""+name+"\")");
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user