commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject svn commit: r1056082 - /commons/proper/daemon/trunk/src/java/org/apache/commons/daemon/support/DaemonConfiguration.java
Date Thu, 06 Jan 2011 21:15:22 GMT
Author: sebb
Date: Thu Jan  6 21:15:22 2011
New Revision: 1056082

URL: http://svn.apache.org/viewvc?rev=1056082&view=rev
Log:
Explain why we are using apparently deprecated method

Modified:
    commons/proper/daemon/trunk/src/java/org/apache/commons/daemon/support/DaemonConfiguration.java

Modified: commons/proper/daemon/trunk/src/java/org/apache/commons/daemon/support/DaemonConfiguration.java
URL: http://svn.apache.org/viewvc/commons/proper/daemon/trunk/src/java/org/apache/commons/daemon/support/DaemonConfiguration.java?rev=1056082&r1=1056081&r2=1056082&view=diff
==============================================================================
--- commons/proper/daemon/trunk/src/java/org/apache/commons/daemon/support/DaemonConfiguration.java
(original)
+++ commons/proper/daemon/trunk/src/java/org/apache/commons/daemon/support/DaemonConfiguration.java
Thu Jan  6 21:15:22 2011
@@ -126,7 +126,7 @@ public final class DaemonConfiguration
                 if (sysvalue == null) {
                     // Try with the environment if there was no
                     // property by that name.
-                    sysvalue = System.getenv(variable);
+                    sysvalue = System.getenv(variable); // N.B. Deprecated in Java 1.3/1.4,
but re-instated in Java 1.5+
                 }
                 if (sysvalue != null) {
                     String strtoken = propValue.substring(ctoken, btoken);



Mime
View raw message