incubator-sling-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cziege...@apache.org
Subject svn commit: r733020 - in /incubator/sling/trunk/extensions/bundleresource/src/main/java/org/apache/sling/bundleresource/impl: BundleResource.java BundleResourceIterator.java BundleResourceProvider.java
Date Fri, 09 Jan 2009 13:01:28 GMT
Author: cziegeler
Date: Fri Jan  9 05:01:28 2009
New Revision: 733020

URL: http://svn.apache.org/viewvc?rev=733020&view=rev
Log:
Remove unused imports.

Modified:
    incubator/sling/trunk/extensions/bundleresource/src/main/java/org/apache/sling/bundleresource/impl/BundleResource.java
    incubator/sling/trunk/extensions/bundleresource/src/main/java/org/apache/sling/bundleresource/impl/BundleResourceIterator.java
    incubator/sling/trunk/extensions/bundleresource/src/main/java/org/apache/sling/bundleresource/impl/BundleResourceProvider.java

Modified: incubator/sling/trunk/extensions/bundleresource/src/main/java/org/apache/sling/bundleresource/impl/BundleResource.java
URL: http://svn.apache.org/viewvc/incubator/sling/trunk/extensions/bundleresource/src/main/java/org/apache/sling/bundleresource/impl/BundleResource.java?rev=733020&r1=733019&r2=733020&view=diff
==============================================================================
--- incubator/sling/trunk/extensions/bundleresource/src/main/java/org/apache/sling/bundleresource/impl/BundleResource.java
(original)
+++ incubator/sling/trunk/extensions/bundleresource/src/main/java/org/apache/sling/bundleresource/impl/BundleResource.java
Fri Jan  9 05:01:28 2009
@@ -32,7 +32,6 @@
 import org.apache.sling.api.resource.Resource;
 import org.apache.sling.api.resource.ResourceMetadata;
 import org.apache.sling.api.resource.ResourceResolver;
-import org.osgi.framework.Bundle;
 import org.slf4j.Logger;
 import org.slf4j.LoggerFactory;
 

Modified: incubator/sling/trunk/extensions/bundleresource/src/main/java/org/apache/sling/bundleresource/impl/BundleResourceIterator.java
URL: http://svn.apache.org/viewvc/incubator/sling/trunk/extensions/bundleresource/src/main/java/org/apache/sling/bundleresource/impl/BundleResourceIterator.java?rev=733020&r1=733019&r2=733020&view=diff
==============================================================================
--- incubator/sling/trunk/extensions/bundleresource/src/main/java/org/apache/sling/bundleresource/impl/BundleResourceIterator.java
(original)
+++ incubator/sling/trunk/extensions/bundleresource/src/main/java/org/apache/sling/bundleresource/impl/BundleResourceIterator.java
Fri Jan  9 05:01:28 2009
@@ -18,13 +18,11 @@
  */
 package org.apache.sling.bundleresource.impl;
 
-import java.util.Enumeration;
 import java.util.Iterator;
 import java.util.NoSuchElementException;
 
 import org.apache.sling.api.resource.Resource;
 import org.apache.sling.api.resource.ResourceResolver;
-import org.osgi.framework.Bundle;
 import org.slf4j.Logger;
 import org.slf4j.LoggerFactory;
 
@@ -45,7 +43,7 @@
     private final BundleResourceCache bundle;
 
     private final MappedPath mappedPath;
-    
+
     /** Underlying bundle entry path enumeration */
     private final Iterator<String> entries;
 
@@ -86,7 +84,7 @@
 
     BundleResourceIterator(ResourceResolver resourceResolver, BundleResourceCache bundle,
             MappedPath mappedPath, String parentPath) {
-        
+
         // trailing slash to enumerate children
         if (!parentPath.endsWith("/")) {
             parentPath = parentPath.concat("/");

Modified: incubator/sling/trunk/extensions/bundleresource/src/main/java/org/apache/sling/bundleresource/impl/BundleResourceProvider.java
URL: http://svn.apache.org/viewvc/incubator/sling/trunk/extensions/bundleresource/src/main/java/org/apache/sling/bundleresource/impl/BundleResourceProvider.java?rev=733020&r1=733019&r2=733020&view=diff
==============================================================================
--- incubator/sling/trunk/extensions/bundleresource/src/main/java/org/apache/sling/bundleresource/impl/BundleResourceProvider.java
(original)
+++ incubator/sling/trunk/extensions/bundleresource/src/main/java/org/apache/sling/bundleresource/impl/BundleResourceProvider.java
Fri Jan  9 05:01:28 2009
@@ -18,14 +18,12 @@
  */
 package org.apache.sling.bundleresource.impl;
 
-import java.net.URL;
 import java.util.ArrayList;
 import java.util.Collections;
 import java.util.Dictionary;
 import java.util.Hashtable;
 import java.util.Iterator;
 import java.util.List;
-import java.util.Map;
 import java.util.StringTokenizer;
 
 import javax.servlet.http.HttpServletRequest;
@@ -85,7 +83,7 @@
     }
 
     //---------- Web Console plugin support
-    
+
     BundleResourceCache getBundleResourceCache() {
         return bundle;
     }
@@ -93,9 +91,9 @@
     MappedPath[] getMappedPaths() {
         return roots;
     }
-    
+
     //---------- internal
-    
+
     /** Returns the root paths */
     private String[] getRoots() {
         String[] rootPaths = new String[roots.length];



Mime
View raw message