Author: violetagg
Date: Sat Jan 2 19:56:18 2016
New Revision: 1722657
URL: http://svn.apache.org/viewvc?rev=1722657&view=rev
Log:
Variable cannot be null
Modified:
tomcat/tc7.0.x/trunk/java/org/apache/tomcat/util/IntrospectionUtils.java
Modified:
tomcat/tc7.0.x/trunk/java/org/apache/tomcat/util/IntrospectionUtils.java
URL:
http://svn.apache.org/viewvc/tomcat/tc7.0.x/trunk/java/org/apache/tomcat/util/IntrospectionUtils.java?rev=1722657&r1=1722656&r2=1722657&view=diff
==============================================================================
--- tomcat/tc7.0.x/trunk/java/org/apache/tomcat/util/IntrospectionUtils.java
(original)
+++ tomcat/tc7.0.x/trunk/java/org/apache/tomcat/util/IntrospectionUtils.java
Sat Jan 2 19:56:18 2016
@@ -194,7 +194,7 @@ public final class IntrospectionUtils {
install = f1.getCanonicalPath();
if (installSysProp != null)
System.getProperties().put(installSysProp, install);
- if (home == null && homeSysProp != null)
+ if (homeSysProp != null)
System.getProperties().put(homeSysProp, install);
return install;
} catch (Exception ex) {
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]