X-Git-Url: http://secure.phpeclipse.com diff --git a/net.sourceforge.phpeclipse/src/net/sourceforge/phpdt/internal/core/OverflowingLRUCache.java b/net.sourceforge.phpeclipse/src/net/sourceforge/phpdt/internal/core/OverflowingLRUCache.java index de4c7a4..2700928 100644 --- a/net.sourceforge.phpeclipse/src/net/sourceforge/phpdt/internal/core/OverflowingLRUCache.java +++ b/net.sourceforge.phpeclipse/src/net/sourceforge/phpdt/internal/core/OverflowingLRUCache.java @@ -14,7 +14,7 @@ import java.util.Enumeration; import java.util.Iterator; import net.sourceforge.phpdt.internal.core.util.LRUCache; -import net.sourceforge.phpdt.internal.core.util.Util; +//import net.sourceforge.phpdt.internal.core.util.Util; /** * The OverflowingLRUCache is an LRUCache which attempts to @@ -157,9 +157,9 @@ public abstract class OverflowingLRUCache extends LRUCache { * * @return Hashtable of entries */ - public java.util.Hashtable getEntryTable() { - return fEntryTable; - } +// public java.util.Hashtable getEntryTable() { +// return fEntryTable; +// } /** * Returns the load factor for the cache. The load factor determines how @@ -167,16 +167,16 @@ public abstract class OverflowingLRUCache extends LRUCache { * * @return double */ - public double getLoadFactor() { - return fLoadFactor; - } +// public double getLoadFactor() { +// return fLoadFactor; +// } /** * @return The space by which the cache has overflown. */ - public int getOverflow() { - return fOverflow; - } +// public int getOverflow() { +// return fOverflow; +// } /** * Ensures there is the specified amount of free space in the receiver, by @@ -427,14 +427,14 @@ public abstract class OverflowingLRUCache extends LRUCache { * @throws IllegalArgumentException * when the new load factor is not in (0.0, 1.0] */ - public void setLoadFactor(double newLoadFactor) - throws IllegalArgumentException { - if (newLoadFactor <= 1.0 && newLoadFactor > 0.0) - fLoadFactor = newLoadFactor; - else - throw new IllegalArgumentException(Util - .bind("cache.invalidLoadFactor")); //$NON-NLS-1$ - } +// public void setLoadFactor(double newLoadFactor) +// throws IllegalArgumentException { +// if (newLoadFactor <= 1.0 && newLoadFactor > 0.0) +// fLoadFactor = newLoadFactor; +// else +// throw new IllegalArgumentException(Util +// .bind("cache.invalidLoadFactor")); //$NON-NLS-1$ +// } /** * Sets the maximum amount of space that the cache can store