commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mcucchi...@apache.org
Subject svn commit: r1188680 - /commons/proper/ognl/trunk/src/main/java/org/apache/commons/ognl/DefaultClassResolver.java
Date Tue, 25 Oct 2011 14:50:55 GMT
Author: mcucchiara
Date: Tue Oct 25 14:50:55 2011
New Revision: 1188680

URL: http://svn.apache.org/viewvc?rev=1188680&view=rev
Log:
Added missing space between parenthesis

Modified:
    commons/proper/ognl/trunk/src/main/java/org/apache/commons/ognl/DefaultClassResolver.java

Modified: commons/proper/ognl/trunk/src/main/java/org/apache/commons/ognl/DefaultClassResolver.java
URL: http://svn.apache.org/viewvc/commons/proper/ognl/trunk/src/main/java/org/apache/commons/ognl/DefaultClassResolver.java?rev=1188680&r1=1188679&r2=1188680&view=diff
==============================================================================
--- commons/proper/ognl/trunk/src/main/java/org/apache/commons/ognl/DefaultClassResolver.java
(original)
+++ commons/proper/ognl/trunk/src/main/java/org/apache/commons/ognl/DefaultClassResolver.java
Tue Oct 25 14:50:55 2011
@@ -25,7 +25,7 @@ import java.util.Map;
 /**
  * Default class resolution. Uses ClassLoader.loadClass() to look up classes by name. It
also looks in the "java.lang" package
  * if the class named does not give a package specifier, allowing easier usage of these classes.
- * 
+ *
  * @author Luke Blanshard (blanshlu@netscape.net)
  * @author Drew Davidson (drew@ognl.org)
  */
@@ -57,10 +57,10 @@ public class DefaultClassResolver
 
         if ( result == null )
         {
-            ClassLoader classLoader = ClassLoader.getSystemClassLoader();
+            ClassLoader classLoader = ClassLoader.getSystemClassLoader( );
             try
             {
-                result = classLoader.loadClass(className);
+                result = classLoader.loadClass( className );
             }
             catch ( ClassNotFoundException ex )
             {



Mime
View raw message