peterreilly 2003/07/17 04:04:16
Modified: src/main/org/apache/tools/ant TaskAdapter.java
Log:
checkstyle
Revision Changes Path
1.23 +3 -1 ant/src/main/org/apache/tools/ant/TaskAdapter.java
Index: TaskAdapter.java
===================================================================
RCS file: /home/cvs/ant/src/main/org/apache/tools/ant/TaskAdapter.java,v
retrieving revision 1.22
retrieving revision 1.23
diff -u -r1.22 -r1.23
--- TaskAdapter.java 6 Jul 2003 09:57:34 -0000 1.22
+++ TaskAdapter.java 17 Jul 2003 11:04:16 -0000 1.23
@@ -112,6 +112,8 @@
/**
* 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 @@
* @return the target proxy object
*/
public Object getProxy() {
- return this.proxy ;
+ return proxy;
}
}
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]