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 2012/07/24 17:53:29 UTC

svn commit: r1365145 - /lucene/dev/branches/lucene2510/lucene/core/src/java/org/apache/lucene/util/SPIClassIterator.java

Author: uschindler
Date: Tue Jul 24 15:53:29 2012
New Revision: 1365145

URL: http://svn.apache.org/viewvc?rev=1365145&view=rev
Log:
LUCENE-2510: minor change

Modified:
    lucene/dev/branches/lucene2510/lucene/core/src/java/org/apache/lucene/util/SPIClassIterator.java

Modified: lucene/dev/branches/lucene2510/lucene/core/src/java/org/apache/lucene/util/SPIClassIterator.java
URL: http://svn.apache.org/viewvc/lucene/dev/branches/lucene2510/lucene/core/src/java/org/apache/lucene/util/SPIClassIterator.java?rev=1365145&r1=1365144&r2=1365145&view=diff
==============================================================================
--- lucene/dev/branches/lucene2510/lucene/core/src/java/org/apache/lucene/util/SPIClassIterator.java (original)
+++ lucene/dev/branches/lucene2510/lucene/core/src/java/org/apache/lucene/util/SPIClassIterator.java Tue Jul 24 15:53:29 2012
@@ -125,7 +125,7 @@ public final class SPIClassIterator<S> i
       return Class.forName(c, false, loader).asSubclass(clazz);
     } catch (ClassNotFoundException cnfe) {
       throw new ServiceConfigurationError(String.format(Locale.ROOT, "A SPI class of type %s with classname %s does not exist, "+
-        "please fix the file '%s%s' in your classpath.", clazz.getName(), c, META_INF_SERVICES, clazz.getName()));
+        "please fix the file '%s%1$s' in your classpath.", clazz.getName(), c, META_INF_SERVICES));
     }
   }