You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@cocoon.apache.org by cz...@apache.org on 2007/02/01 11:43:50 UTC

svn commit: r502184 - in /cocoon/trunk/core/cocoon-store/cocoon-store-impl: pom.xml src/main/java/org/apache/cocoon/components/store/impl/EHDefaultStore.java

Author: cziegeler
Date: Thu Feb  1 02:43:49 2007
New Revision: 502184

URL: http://svn.apache.org/viewvc?view=rev&rev=502184
Log:
Update to ehcache 1.2.3

Modified:
    cocoon/trunk/core/cocoon-store/cocoon-store-impl/pom.xml
    cocoon/trunk/core/cocoon-store/cocoon-store-impl/src/main/java/org/apache/cocoon/components/store/impl/EHDefaultStore.java

Modified: cocoon/trunk/core/cocoon-store/cocoon-store-impl/pom.xml
URL: http://svn.apache.org/viewvc/cocoon/trunk/core/cocoon-store/cocoon-store-impl/pom.xml?view=diff&rev=502184&r1=502183&r2=502184
==============================================================================
--- cocoon/trunk/core/cocoon-store/cocoon-store-impl/pom.xml (original)
+++ cocoon/trunk/core/cocoon-store/cocoon-store-impl/pom.xml Thu Feb  1 02:43:49 2007
@@ -74,7 +74,7 @@
     <dependency>
       <groupId>net.sf.ehcache</groupId>
       <artifactId>ehcache</artifactId>
-      <version>1.2</version>
+      <version>1.2.3</version>
       <exclusions>
         <exclusion>
           <groupId>commons-collections</groupId>

Modified: cocoon/trunk/core/cocoon-store/cocoon-store-impl/src/main/java/org/apache/cocoon/components/store/impl/EHDefaultStore.java
URL: http://svn.apache.org/viewvc/cocoon/trunk/core/cocoon-store/cocoon-store-impl/src/main/java/org/apache/cocoon/components/store/impl/EHDefaultStore.java?view=diff&rev=502184&r1=502183&r2=502184
==============================================================================
--- cocoon/trunk/core/cocoon-store/cocoon-store-impl/src/main/java/org/apache/cocoon/components/store/impl/EHDefaultStore.java (original)
+++ cocoon/trunk/core/cocoon-store/cocoon-store-impl/src/main/java/org/apache/cocoon/components/store/impl/EHDefaultStore.java Thu Feb  1 02:43:49 2007
@@ -476,11 +476,7 @@
         if (getLogger().isDebugEnabled()) {
             getLogger().debug("Clearing the store");
         }
-        try {
-            this.cache.removeAll();
-        } catch (IOException e) {
-            getLogger().error("Failure to clearing store", e);
-        }
+        this.cache.removeAll();
     }
 
     /**



Re: svn commit: r502184 - in /cocoon/trunk/core/cocoon-store/cocoon-store-impl: pom.xml src/main/java/org/apache/cocoon/components/store/impl/EHDefaultStore.java

Posted by Vadim Gritsenko <va...@reverycodes.com>.
Vadim Gritsenko wrote:
> cziegeler@apache.org wrote:
>> Update to ehcache 1.2.3
> 
> Why not 1.2.4? It was released 12/03, and I was just about trying 
> upgrade myself...

Please disregard :)

Vadim

Re: svn commit: r502184 - in /cocoon/trunk/core/cocoon-store/cocoon-store-impl: pom.xml src/main/java/org/apache/cocoon/components/store/impl/EHDefaultStore.java

Posted by Vadim Gritsenko <va...@reverycodes.com>.
cziegeler@apache.org wrote:
> Update to ehcache 1.2.3

Why not 1.2.4? It was released 12/03, and I was just about trying upgrade myself...

Vadim