commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ra...@apache.org
Subject svn commit: r397444 - /jakarta/commons/proper/jexl/trunk/src/java/org/apache/commons/jexl/util/AbstractExecutor.java
Date Thu, 27 Apr 2006 06:42:51 GMT
Author: rahul
Date: Wed Apr 26 23:42:50 2006
New Revision: 397444

URL: http://svn.apache.org/viewcvs?rev=397444&view=rev
Log:
Conform to checkstyle, add missing Javadocs. No functional change.


Modified:
    jakarta/commons/proper/jexl/trunk/src/java/org/apache/commons/jexl/util/AbstractExecutor.java

Modified: jakarta/commons/proper/jexl/trunk/src/java/org/apache/commons/jexl/util/AbstractExecutor.java
URL: http://svn.apache.org/viewcvs/jakarta/commons/proper/jexl/trunk/src/java/org/apache/commons/jexl/util/AbstractExecutor.java?rev=397444&r1=397443&r2=397444&view=diff
==============================================================================
--- jakarta/commons/proper/jexl/trunk/src/java/org/apache/commons/jexl/util/AbstractExecutor.java
(original)
+++ jakarta/commons/proper/jexl/trunk/src/java/org/apache/commons/jexl/util/AbstractExecutor.java
Wed Apr 26 23:42:50 2006
@@ -32,8 +32,8 @@
  * @author <a href="mailto:geirm@apache.org">Geir Magnusson Jr.</a>
  * @version $Id$
  */
-public abstract class AbstractExecutor
-{
+public abstract class AbstractExecutor {
+    /** The executor instance log. */
     protected Log rlog = null;
     
     /**
@@ -43,6 +43,11 @@
     
     /**
      * Execute method against context.
+     *
+     * @param o The owner.
+     * @return The return value.
+     * @throws IllegalAccessException Method is inaccessible.
+     * @throws InvocationTargetException Method body throws an exception.
      */
      public abstract Object execute(Object o)
          throws IllegalAccessException, InvocationTargetException;
@@ -50,14 +55,19 @@
     /**
      * Tell whether the executor is alive by looking
      * at the value of the method.
+     *
+     * @return boolean Whether the executor is alive.
      */
-    public boolean isAlive()
-    {
+    public boolean isAlive() {
         return (method != null);
     }
 
-    public Method getMethod()
-    {
+    /**
+     * Get the method to be executed.
+     *
+     * @return Method The method to be executed.
+     */
+    public Method getMethod() {
         return method;
     }
 }



---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


Mime
View raw message