Permalink
Browse files

Make sure we're instrumenting cloned InstrumentedEhcaches as well.

  • Loading branch information...
1 parent c78b02b commit ba3810c2a2216824c9c237f868616dd173e0b34f @codahale codahale committed Jun 30, 2011
@@ -312,7 +312,7 @@ public void clearStatistics() {
@Override
public Object clone() throws CloneNotSupportedException {
- return cache.clone();
+ return InstrumentedEhcache.instrument((Ehcache) cache.clone());
}
@Override

0 comments on commit ba3810c

Please sign in to comment.