You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by si...@apache.org on 2011/04/08 18:49:55 UTC
svn commit: r1090349 -
/commons/proper/discovery/trunk/src/test/org/apache/commons/discovery/test/TestAll.java
Author: simonetripodi
Date: Fri Apr 8 16:49:55 2011
New Revision: 1090349
URL: http://svn.apache.org/viewvc?rev=1090349&view=rev
Log:
removed empty line
Modified:
commons/proper/discovery/trunk/src/test/org/apache/commons/discovery/test/TestAll.java
Modified: commons/proper/discovery/trunk/src/test/org/apache/commons/discovery/test/TestAll.java
URL: http://svn.apache.org/viewvc/commons/proper/discovery/trunk/src/test/org/apache/commons/discovery/test/TestAll.java?rev=1090349&r1=1090348&r2=1090349&view=diff
==============================================================================
--- commons/proper/discovery/trunk/src/test/org/apache/commons/discovery/test/TestAll.java (original)
+++ commons/proper/discovery/trunk/src/test/org/apache/commons/discovery/test/TestAll.java Fri Apr 8 16:49:55 2011
@@ -223,11 +223,11 @@ public class TestAll {
* let's keep this to a minimum.
*/
ClassLoader cl = getClass().getClassLoader();
- if (cl != null)
+ if (cl != null) {
loaders.put(getClass().getClassLoader(), true);
- else
+ } else {
loaders.put(JDKHooks.getJDKHooks().getSystemClassLoader(), true);
-
+ }
String name = "testResource";
@@ -263,7 +263,6 @@ public class TestAll {
assertTrue("Failed to find an implementation class", implClass != null);
assertEquals("org.apache.commons.discovery.test.TestImpl2_1", implClass.getName());
-
}
@Test