You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by mb...@apache.org on 2010/02/28 17:21:14 UTC

svn commit: r917195 - /commons/proper/jxpath/trunk/src/java/org/apache/commons/jxpath/util/MethodLookupUtils.java

Author: mbenson
Date: Sun Feb 28 16:21:14 2010
New Revision: 917195

URL: http://svn.apache.org/viewvc?rev=917195&view=rev
Log:
[JXPATH-129] partial: sp 'ambiguous'

Modified:
    commons/proper/jxpath/trunk/src/java/org/apache/commons/jxpath/util/MethodLookupUtils.java

Modified: commons/proper/jxpath/trunk/src/java/org/apache/commons/jxpath/util/MethodLookupUtils.java
URL: http://svn.apache.org/viewvc/commons/proper/jxpath/trunk/src/java/org/apache/commons/jxpath/util/MethodLookupUtils.java?rev=917195&r1=917194&r2=917195&view=diff
==============================================================================
--- commons/proper/jxpath/trunk/src/java/org/apache/commons/jxpath/util/MethodLookupUtils.java (original)
+++ commons/proper/jxpath/trunk/src/java/org/apache/commons/jxpath/util/MethodLookupUtils.java Sun Feb 28 16:21:14 2010
@@ -98,7 +98,7 @@
         }
         if (ambiguous) {
             throw new JXPathException(
-                "Ambigous constructor " + Arrays.asList(parameters));
+                "Ambiguous constructor " + Arrays.asList(parameters));
         }
         return constructor;
     }
@@ -169,7 +169,7 @@
             }
         }
         if (ambiguous) {
-            throw new JXPathException("Ambigous method call: " + name);
+            throw new JXPathException("Ambiguous method call: " + name);
         }
         return method;
     }
@@ -254,7 +254,7 @@
             }
         }
         if (ambiguous) {
-            throw new JXPathException("Ambigous method call: " + name);
+            throw new JXPathException("Ambiguous method call: " + name);
         }
         return method;
     }