Author: gseitz
Date: Mon May 19 14:06:36 2008
New Revision: 657977

URL: http://svn.apache.org/viewvc?rev=657977&view=rev
Log:
comment the uncommented code again

Modified:
    
wicket/trunk/wicket-examples/src/main/java/org/apache/wicket/examples/source/SourcesPage.java

Modified: 
wicket/trunk/wicket-examples/src/main/java/org/apache/wicket/examples/source/SourcesPage.java
URL: 
http://svn.apache.org/viewvc/wicket/trunk/wicket-examples/src/main/java/org/apache/wicket/examples/source/SourcesPage.java?rev=657977&r1=657976&r2=657977&view=diff
==============================================================================
--- 
wicket/trunk/wicket-examples/src/main/java/org/apache/wicket/examples/source/SourcesPage.java
 (original)
+++ 
wicket/trunk/wicket-examples/src/main/java/org/apache/wicket/examples/source/SourcesPage.java
 Mon May 19 14:06:36 2008
@@ -167,31 +167,31 @@
                        if (resources.isEmpty())
                        {
                                get(page);
-                               PackageName name = PackageName.forClass(page);
-                               ClassLoader loader = page.getClassLoader();
-                               String path = 
Strings.replaceAll(name.getName(), ".", "/").toString();
-                               try
-                               {
-                                       // gives the urls for each place where 
the package
-                                       // path could be found. There could be 
multiple
-                                       // jar files containing the same 
package, so each
-                                       // jar file has its own url.
-
-                                       Enumeration<URL> urls = 
loader.getResources(path);
-                                       while (urls.hasMoreElements())
-                                       {
-                                               URL url = urls.nextElement();
-
-                                               // the url points to the 
directory structure
-                                               // embedded in the classpath.
-
-                                               getPackageContents(url);
-                                       }
-                               }
-                               catch (IOException e)
-                               {
-                                       log.error("Unable to read resource for: 
" + path, e);
-                               }
+// PackageName name = PackageName.forClass(page);
+// ClassLoader loader = page.getClassLoader();
+// String path = Strings.replaceAll(name.getName(), ".", "/").toString();
+// try
+// {
+// // gives the urls for each place where the package
+// // path could be found. There could be multiple
+// // jar files containing the same package, so each
+// // jar file has its own url.
+//
+// Enumeration<URL> urls = loader.getResources(path);
+// while (urls.hasMoreElements())
+// {
+// URL url = urls.nextElement();
+//
+// // the url points to the directory structure
+// // embedded in the classpath.
+//
+// getPackageContents(url);
+// }
+// }
+// catch (IOException e)
+// {
+// log.error("Unable to read resource for: " + path, e);
+// }
                        }
                        return resources;
                }


Reply via email to