You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by se...@apache.org on 2012/05/31 03:07:25 UTC
svn commit: r1344520 -
/commons/proper/jcs/trunk/src/java/org/apache/jcs/engine/control/CompositeCache.java
Author: sebb
Date: Thu May 31 01:07:25 2012
New Revision: 1344520
URL: http://svn.apache.org/viewvc?rev=1344520&view=rev
Log:
Fix one generic warning
Modified:
commons/proper/jcs/trunk/src/java/org/apache/jcs/engine/control/CompositeCache.java
Modified: commons/proper/jcs/trunk/src/java/org/apache/jcs/engine/control/CompositeCache.java
URL: http://svn.apache.org/viewvc/commons/proper/jcs/trunk/src/java/org/apache/jcs/engine/control/CompositeCache.java?rev=1344520&r1=1344519&r2=1344520&view=diff
==============================================================================
--- commons/proper/jcs/trunk/src/java/org/apache/jcs/engine/control/CompositeCache.java (original)
+++ commons/proper/jcs/trunk/src/java/org/apache/jcs/engine/control/CompositeCache.java Thu May 31 01:07:25 2012
@@ -80,6 +80,7 @@ public class CompositeCache<K extends Se
public IElementEventQueue elementEventQ;
/** Auxiliary caches. */
+ @SuppressWarnings("unchecked") // OK because this is an empty array
private AuxiliaryCache<K, V>[] auxCaches = new AuxiliaryCache[0];
/** is this alive? */