Author: tv
Date: Mon Dec 19 19:16:08 2016
New Revision: 1775158

URL: http://svn.apache.org/viewvc?rev=1775158&view=rev
Log:
Remove declaration of exceptions not actually thrown

Modified:
    
commons/proper/jcs/trunk/commons-jcs-core/src/main/java/org/apache/commons/jcs/engine/memory/AbstractMemoryCache.java
    
commons/proper/jcs/trunk/commons-jcs-core/src/main/java/org/apache/commons/jcs/engine/memory/soft/SoftReferenceMemoryCache.java

Modified: 
commons/proper/jcs/trunk/commons-jcs-core/src/main/java/org/apache/commons/jcs/engine/memory/AbstractMemoryCache.java
URL: 
http://svn.apache.org/viewvc/commons/proper/jcs/trunk/commons-jcs-core/src/main/java/org/apache/commons/jcs/engine/memory/AbstractMemoryCache.java?rev=1775158&r1=1775157&r2=1775158&view=diff
==============================================================================
--- 
commons/proper/jcs/trunk/commons-jcs-core/src/main/java/org/apache/commons/jcs/engine/memory/AbstractMemoryCache.java
 (original)
+++ 
commons/proper/jcs/trunk/commons-jcs-core/src/main/java/org/apache/commons/jcs/engine/memory/AbstractMemoryCache.java
 Mon Dec 19 19:16:08 2016
@@ -274,12 +274,10 @@ public abstract class AbstractMemoryCach
     /**
      * Puts an item to the cache.
      * <p>
-     * @param ce
-     * @throws IOException
+     * @param ce the item
      */
     @Override
     public void waterfal( ICacheElement<K, V> ce )
-        throws IOException
     {
         this.cache.spoolToDisk( ce );
     }

Modified: 
commons/proper/jcs/trunk/commons-jcs-core/src/main/java/org/apache/commons/jcs/engine/memory/soft/SoftReferenceMemoryCache.java
URL: 
http://svn.apache.org/viewvc/commons/proper/jcs/trunk/commons-jcs-core/src/main/java/org/apache/commons/jcs/engine/memory/soft/SoftReferenceMemoryCache.java?rev=1775158&r1=1775157&r2=1775158&view=diff
==============================================================================
--- 
commons/proper/jcs/trunk/commons-jcs-core/src/main/java/org/apache/commons/jcs/engine/memory/soft/SoftReferenceMemoryCache.java
 (original)
+++ 
commons/proper/jcs/trunk/commons-jcs-core/src/main/java/org/apache/commons/jcs/engine/memory/soft/SoftReferenceMemoryCache.java
 Mon Dec 19 19:16:08 2016
@@ -302,10 +302,8 @@ public class SoftReferenceMemoryCache<K,
     /**
      * Trim the number of strong references to equal or below the number given
      * by the maxObjects parameter.
-     *
-     * @throws IOException
      */
-    private void trimStrongReferences() throws IOException
+    private void trimStrongReferences()
     {
         int max = getCacheAttributes().getMaxObjects();
         int startsize = strongReferences.size();


Reply via email to