incubator-sling-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cziege...@apache.org
Subject svn commit: r832613 - /sling/trunk/bundles/extensions/bundleresource/src/main/java/org/apache/sling/bundleresource/impl/BundleResourceCache.java
Date Tue, 03 Nov 2009 23:45:21 GMT
Author: cziegeler
Date: Tue Nov  3 23:45:20 2009
New Revision: 832613

URL: http://svn.apache.org/viewvc?rev=832613&view=rev
Log:
Clean up code

Modified:
    sling/trunk/bundles/extensions/bundleresource/src/main/java/org/apache/sling/bundleresource/impl/BundleResourceCache.java

Modified: sling/trunk/bundles/extensions/bundleresource/src/main/java/org/apache/sling/bundleresource/impl/BundleResourceCache.java
URL: http://svn.apache.org/viewvc/sling/trunk/bundles/extensions/bundleresource/src/main/java/org/apache/sling/bundleresource/impl/BundleResourceCache.java?rev=832613&r1=832612&r2=832613&view=diff
==============================================================================
--- sling/trunk/bundles/extensions/bundleresource/src/main/java/org/apache/sling/bundleresource/impl/BundleResourceCache.java
(original)
+++ sling/trunk/bundles/extensions/bundleresource/src/main/java/org/apache/sling/bundleresource/impl/BundleResourceCache.java
Tue Nov  3 23:45:20 2009
@@ -100,7 +100,7 @@
     /**
      * Creates a new instance of this class providing access to the entries in
      * the given <code>bundle</code>.
-     * 
+     *
      * @param bundle
      */
     BundleResourceCache(Bundle bundle) {
@@ -127,7 +127,7 @@
      * <p>
      * This method is backed by the <code>Bundle.getEntry(String)</code>
      * method.
-     * 
+     *
      * @param path The path to the bundle entry to return
      * @return The URL to access the bundle entry or <code>null</code> if the
      *         bundle does not contain the request entry.
@@ -155,7 +155,7 @@
      * This method is backed by the <code>Bundle.getEntryPaths(String)</code>
      * method but returns an <code>Iterator<String></code> instead of an
      * <code>Enumeration</code> of strings.
-     * 
+     *
      * @param parentPath The path to the parent entry whose child entries are to
      *            be returned.
      * @return An <code>Iterator<String></code> providing the paths of
@@ -244,7 +244,7 @@
 
         /**
          * Creates a new instance of this size limited map.
-         * 
+         *
          * @param limit The maximum number of entries in this map. If this value
          *            is less than or equal to zero, the default size of
          *            {@link #DEFAULT_LIMIT} is used.
@@ -263,13 +263,6 @@
         }
 
         /**
-         * Returns the maximum number of entries to be stored in this map.
-         */
-        int getLimit() {
-            return limit;
-        }
-
-        /**
          * Returns <code>true</code> if the current number of elements in the
          * map exceeds the configured limit.
          */



Mime
View raw message