You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by cj...@apache.org on 2011/03/08 13:38:52 UTC

svn commit: r1079343 - /myfaces/core/trunk/impl/src/main/java/org/apache/myfaces/view/facelets/util/Classpath.java

Author: cjhoward
Date: Tue Mar  8 12:38:51 2011
New Revision: 1079343

URL: http://svn.apache.org/viewvc?rev=1079343&view=rev
Log:
Checkstyle issues.

Modified:
    myfaces/core/trunk/impl/src/main/java/org/apache/myfaces/view/facelets/util/Classpath.java

Modified: myfaces/core/trunk/impl/src/main/java/org/apache/myfaces/view/facelets/util/Classpath.java
URL: http://svn.apache.org/viewvc/myfaces/core/trunk/impl/src/main/java/org/apache/myfaces/view/facelets/util/Classpath.java?rev=1079343&r1=1079342&r2=1079343&view=diff
==============================================================================
--- myfaces/core/trunk/impl/src/main/java/org/apache/myfaces/view/facelets/util/Classpath.java (original)
+++ myfaces/core/trunk/impl/src/main/java/org/apache/myfaces/view/facelets/util/Classpath.java Tue Mar  8 12:38:51 2011
@@ -79,18 +79,18 @@ public final class Classpath
             JarFile jar = null;
             if (conn instanceof JarURLConnection)
             {
-            	try {
-            		jar = ((JarURLConnection) conn).getJarFile();
-            	}
-            	
-            	catch (Throwable e) {
-            		// This can happen if the classloader provided us a URL that it thinks exists
-            		// but really doesn't.  In particular, if a JAR contains META-INF/MANIFEST.MF
-            		// but not META-INF/, some classloaders may incorrectly report that META-INF/
-            		// exists and we'll end up here.  Just ignore this case.
-            		
-            		continue;
-            	}
+                try {
+                    jar = ((JarURLConnection) conn).getJarFile();
+                }
+                
+                catch (Throwable e) {
+                    // This can happen if the classloader provided us a URL that it thinks exists
+                    // but really doesn't.  In particular, if a JAR contains META-INF/MANIFEST.MF
+                    // but not META-INF/, some classloaders may incorrectly report that META-INF/
+                    // exists and we'll end up here.  Just ignore this case.
+                    
+                    continue;
+                }
             }
             else
             {