now using JPA annotations.
[utils] / support / src / main / java / org / wamblee / cache / EhCache.java
index ca11ab3f72c71f13aa92341afb6f5ba13fd064e2..0dcb2b7a2fcf3907b8d24e60ed363d64b91c9bcf 100644 (file)
@@ -117,10 +117,6 @@ public class EhCache<KeyType extends Serializable, ValueType extends Serializabl
      * @see org.wamblee.cache.Cache#clear()
      */
     public void clear() {
-        try {
-            _cache.removeAll();
-        } catch (IOException e) {
-            throw new RuntimeException("Problem removing items from cache", e);
-        }
+        _cache.removeAll();
     }
 }