You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cxf.apache.org by co...@apache.org on 2013/11/27 12:52:40 UTC

svn commit: r1546003 - in /cxf/fediz/branches/1.0.x-fixes: ./ plugins/core/src/main/java/org/apache/cxf/fediz/core/EHCacheTokenReplayCache.java

Author: coheigea
Date: Wed Nov 27 11:52:40 2013
New Revision: 1546003

URL: http://svn.apache.org/r1546003
Log:
Backmerging

Modified:
    cxf/fediz/branches/1.0.x-fixes/   (props changed)
    cxf/fediz/branches/1.0.x-fixes/plugins/core/src/main/java/org/apache/cxf/fediz/core/EHCacheTokenReplayCache.java

Propchange: cxf/fediz/branches/1.0.x-fixes/
------------------------------------------------------------------------------
  Merged /cxf/fediz/trunk:r1546001

Modified: cxf/fediz/branches/1.0.x-fixes/plugins/core/src/main/java/org/apache/cxf/fediz/core/EHCacheTokenReplayCache.java
URL: http://svn.apache.org/viewvc/cxf/fediz/branches/1.0.x-fixes/plugins/core/src/main/java/org/apache/cxf/fediz/core/EHCacheTokenReplayCache.java?rev=1546003&r1=1546002&r2=1546003&view=diff
==============================================================================
--- cxf/fediz/branches/1.0.x-fixes/plugins/core/src/main/java/org/apache/cxf/fediz/core/EHCacheTokenReplayCache.java (original)
+++ cxf/fediz/branches/1.0.x-fixes/plugins/core/src/main/java/org/apache/cxf/fediz/core/EHCacheTokenReplayCache.java Wed Nov 27 11:52:40 2013
@@ -117,7 +117,9 @@ public class EHCacheTokenReplayCache imp
             }
         }
         
-        cache.put(new Element(id, id, false, parsedTTL, parsedTTL));
+        Element cacheElement = new Element(id, id, false, parsedTTL, parsedTTL);
+        cacheElement.resetAccessStatistics();
+        cache.put(cacheElement);
     }
     
     /**