commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From d...@apache.org
Subject svn commit: r589294 - /commons/proper/jexl/branches/2.0/src/java/org/apache/commons/jexl/util/introspection/Introspector.java
Date Sun, 28 Oct 2007 08:09:15 GMT
Author: dion
Date: Sun Oct 28 01:08:58 2007
New Revision: 589294

URL: http://svn.apache.org/viewvc?rev=589294&view=rev
Log:
JEXL-25 bring across code from Peters update

Modified:
    commons/proper/jexl/branches/2.0/src/java/org/apache/commons/jexl/util/introspection/Introspector.java

Modified: commons/proper/jexl/branches/2.0/src/java/org/apache/commons/jexl/util/introspection/Introspector.java
URL: http://svn.apache.org/viewvc/commons/proper/jexl/branches/2.0/src/java/org/apache/commons/jexl/util/introspection/Introspector.java?rev=589294&r1=589293&r2=589294&view=diff
==============================================================================
--- commons/proper/jexl/branches/2.0/src/java/org/apache/commons/jexl/util/introspection/Introspector.java
(original)
+++ commons/proper/jexl/branches/2.0/src/java/org/apache/commons/jexl/util/introspection/Introspector.java
Sun Oct 28 01:08:58 2007
@@ -70,6 +70,7 @@
      *  @param logger a {@link Log}.
      */
     public Introspector(Log logger) {
+        super(logger);
         this.rlog = logger;
     }
 
@@ -83,8 +84,10 @@
      *               the parameters
      *
      * @return The desired Method object.
+     * @throws IllegalArgumentException When the parameters passed in can not be used for
introspection.
+     * CSOFF: RedundantThrows
      */
-    public Method getMethod(Class c, String name, Object[] params) {
+    public Method getMethod(Class c, String name, Object[] params) throws IllegalArgumentException
{
         /*
          *  just delegate to the base class
          */
@@ -113,7 +116,7 @@
         }
 
         return null;
-    }
+    } // CSON: RedundantThrows
 
     /**
      * Clears the classmap and classname



Mime
View raw message