ant-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bode...@apache.org
Subject svn commit: r935493 - /ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/Property.java
Date Mon, 19 Apr 2010 09:36:02 GMT
Author: bodewig
Date: Mon Apr 19 09:36:02 2010
New Revision: 935493

URL: http://svn.apache.org/viewvc?rev=935493&view=rev
Log:
I was tempted to remove reflection because the comment said 1.3 but loadFromXML is a Java5
method

Modified:
    ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/Property.java

Modified: ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/Property.java
URL: http://svn.apache.org/viewvc/ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/Property.java?rev=935493&r1=935492&r2=935493&view=diff
==============================================================================
--- ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/Property.java (original)
+++ ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/Property.java Mon Apr 19 09:36:02
2010
@@ -542,7 +542,7 @@ public class Property extends Task {
                                 Properties props, InputStream is, boolean isXml) throws IOException
{
         if (isXml) {
             // load the xml based property definition
-            // use reflection because of bwc to Java 1.3
+            // use reflection because of bwc to Java 1.4
             try {
                 Method loadXmlMethod = props.getClass().getMethod("loadFromXML",
                                                                   new Class[] {InputStream.class});



Mime
View raw message