Browse Source

I was tempted to remove reflection because the comment said 1.3 but loadFromXML is a Java5 method

git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@935493 13f79535-47bb-0310-9956-ffa450edef68
master
Stefan Bodewig 15 years ago
parent
commit
bc22149658
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      src/main/org/apache/tools/ant/taskdefs/Property.java

+ 1
- 1
src/main/org/apache/tools/ant/taskdefs/Property.java View File

@@ -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});


Loading…
Cancel
Save