diff --git a/src/test/org/apache/solr/SolrInfoMBeanTest.java b/src/test/org/apache/solr/SolrInfoMBeanTest.java index 4afaae8f781..6ccf48c2327 100644 --- a/src/test/org/apache/solr/SolrInfoMBeanTest.java +++ b/src/test/org/apache/solr/SolrInfoMBeanTest.java @@ -72,7 +72,7 @@ public class SolrInfoMBeanTest extends TestCase } } } - assertTrue( "there are at leaset 10 SolrInfoMBean that should be found in the classpath.", checked > 10 ); + assertTrue( "there are at least 10 SolrInfoMBean that should be found in the classpath.", checked > 10 ); } private static List getClassesForPackage(String pckgname) throws Exception { @@ -81,7 +81,7 @@ public class SolrInfoMBeanTest extends TestCase String path = pckgname.replace('.', '/'); Enumeration resources = cld.getResources(path); while (resources.hasMoreElements()) { - directories.add(new File(URLDecoder.decode(resources.nextElement().getPath(), "UTF-8"))); + directories.add(new File(resources.nextElement().getPath())); } ArrayList classes = new ArrayList();