Browse Source

checkstyle

git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274843 13f79535-47bb-0310-9956-ffa450edef68
master
Peter Reilly 22 years ago
parent
commit
f81a27d545
1 changed files with 3 additions and 1 deletions
  1. +3
    -1
      src/main/org/apache/tools/ant/TaskAdapter.java

+ 3
- 1
src/main/org/apache/tools/ant/TaskAdapter.java View File

@@ -112,6 +112,8 @@ public class TaskAdapter extends Task implements TypeAdapter {
/**
* check if the proxy class is a valid class to use
* with this adapter.
* the class must have a public no-arg "execute()" method.
* @param proxyClass the class to check
*/
public void checkProxyClass(Class proxyClass) {
checkTaskClass(proxyClass, getProject());
@@ -184,7 +186,7 @@ public class TaskAdapter extends Task implements TypeAdapter {
* @return the target proxy object
*/
public Object getProxy() {
return this.proxy ;
return proxy;
}

}

Loading…
Cancel
Save