Author: manik.surtani(a)jboss.com
Date: 2007-12-28 11:58:21 -0500 (Fri, 28 Dec 2007)
New Revision: 4925
Modified:
core/trunk/src/main/java/org/jboss/cache/util/CachePrinter.java
Log:
Fixed bad cast
Modified: core/trunk/src/main/java/org/jboss/cache/util/CachePrinter.java
===================================================================
--- core/trunk/src/main/java/org/jboss/cache/util/CachePrinter.java 2007-12-28 14:50:51
UTC (rev 4924)
+++ core/trunk/src/main/java/org/jboss/cache/util/CachePrinter.java 2007-12-28 16:58:21
UTC (rev 4925)
@@ -23,7 +23,7 @@
public static String printCacheDetails(Cache c)
{
// internal cast
- CacheImpl ci = (CacheImpl) c;
+ CacheImpl ci = ((CacheInvocationDelegate) c).getDelegationTarget();
return ci.printDetails();
}
Show replies by date