You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by he...@apache.org on 2018/01/11 14:10:25 UTC

svn commit: r1820884 - /commons/proper/jexl/trunk/src/main/java/org/apache/commons/jexl3/internal/introspection/MethodKey.java

Author: henrib
Date: Thu Jan 11 14:10:25 2018
New Revision: 1820884

URL: http://svn.apache.org/viewvc?rev=1820884&view=rev
Log:
JEXL-246:
Javadoc

Modified:
    commons/proper/jexl/trunk/src/main/java/org/apache/commons/jexl3/internal/introspection/MethodKey.java

Modified: commons/proper/jexl/trunk/src/main/java/org/apache/commons/jexl3/internal/introspection/MethodKey.java
URL: http://svn.apache.org/viewvc/commons/proper/jexl/trunk/src/main/java/org/apache/commons/jexl3/internal/introspection/MethodKey.java?rev=1820884&r1=1820883&r2=1820884&view=diff
==============================================================================
--- commons/proper/jexl/trunk/src/main/java/org/apache/commons/jexl3/internal/introspection/MethodKey.java (original)
+++ commons/proper/jexl/trunk/src/main/java/org/apache/commons/jexl3/internal/introspection/MethodKey.java Thu Jan 11 14:10:25 2018
@@ -529,10 +529,11 @@ public final class MethodKey {
         /**
          * Creates an ambiguous exception.
          * <p>
-         * This computes the severity of the ambiguity. The only <em>non-severe</em> case is when there is
-         * at least one null argument and at most one applicable have a corresponding 'Object' parameter.
+         * This method computes the severity of the ambiguity. The only <em>non-severe</em> case is when there is
+         * at least one null argument and at most one applicable method or constructor has a corresponding 'Object'
+         * parameter.
          * We thus consider that ambiguity is benign in presence of null arguments but in the case where
-         * the 'catch all' type Object is applicable more than once.
+         * the corresponding parameter is of type Object in more than one applicable overloads.
          * <p>
          * Rephrasing:
          * <ul>