myfaces-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cjhow...@apache.org
Subject svn commit: r1079343 - /myfaces/core/trunk/impl/src/main/java/org/apache/myfaces/view/facelets/util/Classpath.java
Date Tue, 08 Mar 2011 12:38:52 GMT
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
             {



Mime
View raw message