Browse Source

remove check on location, make ProjectComponent check for hidden set methods

git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@447979 13f79535-47bb-0310-9956-ffa450edef68
master
Peter Reilly 19 years ago
parent
commit
3883649a0b
1 changed files with 2 additions and 9 deletions
  1. +2
    -9
      src/main/org/apache/tools/ant/IntrospectionHelper.java

+ 2
- 9
src/main/org/apache/tools/ant/IntrospectionHelper.java View File

@@ -182,7 +182,8 @@ public final class IntrospectionHelper implements BuildListener {
continue;
}
// not really user settable properties on tasks
if (org.apache.tools.ant.Task.class.isAssignableFrom(bean)
if (org.apache.tools.ant.ProjectComponent.class.isAssignableFrom(
bean)
&& args.length == 1 && isHiddenSetMethod(name, args[0])) {
continue;
}
@@ -209,14 +210,6 @@ public final class IntrospectionHelper implements BuildListener {
*/
continue;
}
if (org.apache.tools.ant.Location.class.equals(args[0])) {
/*
Ignore setLocation(Location) (normally from
ProjectComponent.setLocation(Location) in honour
of setLocation(Some other class)
*/
continue;
}
/*
If the argument is not a String or Location,
and if there


Loading…
Cancel
Save