Author: rahul
Date: Thu Apr 27 00:16:48 2006
New Revision: 397460

URL: http://svn.apache.org/viewcvs?rev=397460&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/GetExecutor.java

Modified: 
jakarta/commons/proper/jexl/trunk/src/java/org/apache/commons/jexl/util/GetExecutor.java
URL: 
http://svn.apache.org/viewcvs/jakarta/commons/proper/jexl/trunk/src/java/org/apache/commons/jexl/util/GetExecutor.java?rev=397460&r1=397459&r2=397460&view=diff
==============================================================================
--- 
jakarta/commons/proper/jexl/trunk/src/java/org/apache/commons/jexl/util/GetExecutor.java
 (original)
+++ 
jakarta/commons/proper/jexl/trunk/src/java/org/apache/commons/jexl/util/GetExecutor.java
 Thu Apr 27 00:16:48 2006
@@ -32,8 +32,7 @@
  * @author <a href="mailto:[EMAIL PROTECTED]">Jason van Zyl</a>
  * @version $Id$
  */
-public class GetExecutor extends AbstractExecutor
-{
+public class GetExecutor extends AbstractExecutor {
     /**
      * Container to hold the 'key' part of 
      * get(key).
@@ -42,34 +41,32 @@
     
     /**
      * Default constructor.
+     *
+     * @param r The instance log.
+     * @param ispect The JEXL introspector.
+     * @param c The class being examined.
+     * @param key The key for the get(key) operation.
+     * @throws Exception Failure while trying to obtain the pertinent method.
      */
-    public GetExecutor(Log r, 
org.apache.commons.jexl.util.introspection.Introspector ispect, Class c, String 
key)
-        throws Exception
-    {
+    public GetExecutor(Log r,
+            org.apache.commons.jexl.util.introspection.Introspector ispect,
+            Class c, String key) throws Exception {
         rlog = r;
         args[0] = key;
         method = ispect.getMethod(c, "get", args);
     }
 
     /**
-     * Execute method against context.
+     * [EMAIL PROTECTED]
      */
     public Object execute(Object o)
-        throws IllegalAccessException, InvocationTargetException
-    {
-        if (method == null)
+    throws IllegalAccessException, InvocationTargetException {
+        if (method == null) {
             return null;
+        }
 
         return method.invoke(o, args);
     }
 
 }
-
-
-
-
-
-
-
-
 



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to