click-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sa...@apache.org
Subject svn commit: r832593 - /incubator/click/trunk/click/framework/src/org/apache/click/service/ClickResourceService.java
Date Tue, 03 Nov 2009 23:07:27 GMT
Author: sabob
Date: Tue Nov  3 23:07:25 2009
New Revision: 832593

URL: http://svn.apache.org/viewvc?rev=832593&view=rev
Log:
cleanup

Modified:
    incubator/click/trunk/click/framework/src/org/apache/click/service/ClickResourceService.java

Modified: incubator/click/trunk/click/framework/src/org/apache/click/service/ClickResourceService.java
URL: http://svn.apache.org/viewvc/incubator/click/trunk/click/framework/src/org/apache/click/service/ClickResourceService.java?rev=832593&r1=832592&r2=832593&view=diff
==============================================================================
--- incubator/click/trunk/click/framework/src/org/apache/click/service/ClickResourceService.java
(original)
+++ incubator/click/trunk/click/framework/src/org/apache/click/service/ClickResourceService.java
Tue Nov  3 23:07:25 2009
@@ -214,11 +214,12 @@
 
         ClassLoader classLoader = Thread.currentThread().getContextClassLoader();
 
-        // Find all jars and directories on the classpath that contains the
-        // directory "META-INF/resources/", and deploy those resources
         if (!resourceDir.startsWith("/")) {
             resourceDir = '/' + resourceDir;
         }
+
+        // Find all jars and directories on the classpath that contains the
+        // directory "META-INF/resources/<resourceDir>", and deploy those resources
         String resourceDirectory = "META-INF/resources" + resourceDir;
         Enumeration<URL> en = classLoader.getResources(resourceDirectory);
         while (en.hasMoreElements()) {



Mime
View raw message