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

+2 -1
View File
@@ -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+"\")");
}