You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucene.apache.org by us...@apache.org on 2010/05/30 19:52:47 UTC
svn commit: r949546 -
/lucene/dev/branches/branch_3x/lucene/src/java/org/apache/lucene/util/VirtualMethod.java
Author: uschindler
Date: Sun May 30 17:52:46 2010
New Revision: 949546
URL: http://svn.apache.org/viewvc?rev=949546&view=rev
Log:
revert VirtualMethod exception name, it was correct
Modified:
lucene/dev/branches/branch_3x/lucene/src/java/org/apache/lucene/util/VirtualMethod.java
Modified: lucene/dev/branches/branch_3x/lucene/src/java/org/apache/lucene/util/VirtualMethod.java
URL: http://svn.apache.org/viewvc/lucene/dev/branches/branch_3x/lucene/src/java/org/apache/lucene/util/VirtualMethod.java?rev=949546&r1=949545&r2=949546&view=diff
==============================================================================
--- lucene/dev/branches/branch_3x/lucene/src/java/org/apache/lucene/util/VirtualMethod.java (original)
+++ lucene/dev/branches/branch_3x/lucene/src/java/org/apache/lucene/util/VirtualMethod.java Sun May 30 17:52:46 2010
@@ -83,8 +83,8 @@ public final class VirtualMethod<C> {
"VirtualMethod instances must be singletons and therefore " +
"assigned to static final members in the same class, they use as baseClass ctor param."
);
- } catch (NoSuchMethodException name) {
- throw new IllegalArgumentException(baseClass.getName() + " has no such method: "+name.getMessage());
+ } catch (NoSuchMethodException nsme) {
+ throw new IllegalArgumentException(baseClass.getName() + " has no such method: "+nsme.getMessage());
}
}