commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject svn commit: r1584221 - /commons/proper/jcs/trunk/src/java/org/apache/commons/jcs/engine/ZombieCacheServiceNonLocal.java
Date Thu, 03 Apr 2014 00:12:25 GMT
Author: sebb
Date: Thu Apr  3 00:12:25 2014
New Revision: 1584221

URL: http://svn.apache.org/r1584221
Log:
Unused parameter

Modified:
    commons/proper/jcs/trunk/src/java/org/apache/commons/jcs/engine/ZombieCacheServiceNonLocal.java

Modified: commons/proper/jcs/trunk/src/java/org/apache/commons/jcs/engine/ZombieCacheServiceNonLocal.java
URL: http://svn.apache.org/viewvc/commons/proper/jcs/trunk/src/java/org/apache/commons/jcs/engine/ZombieCacheServiceNonLocal.java?rev=1584221&r1=1584220&r2=1584221&view=diff
==============================================================================
--- commons/proper/jcs/trunk/src/java/org/apache/commons/jcs/engine/ZombieCacheServiceNonLocal.java
(original)
+++ commons/proper/jcs/trunk/src/java/org/apache/commons/jcs/engine/ZombieCacheServiceNonLocal.java
Thu Apr  3 00:12:25 2014
@@ -113,7 +113,7 @@ public class ZombieCacheServiceNonLocal<
     {
         if ( maxQueueSize > 0 )
         {
-            RemoveEvent<K, V> event = new RemoveEvent<K, V>( cacheName, key,
listenerId );
+            RemoveEvent<K> event = new RemoveEvent<K>( cacheName, key, listenerId
);
             queue.add( event );
         }
         // Zombies have no inner life
@@ -224,7 +224,7 @@ public class ZombieCacheServiceNonLocal<
             else if ( event instanceof RemoveEvent )
             {
                 @SuppressWarnings("unchecked") // Type checked by instanceof
-                RemoveEvent<K, V> removeEvent = (RemoveEvent<K, V>) event;
+                RemoveEvent<K> removeEvent = (RemoveEvent<K>) event;
                 service.remove( event.cacheName, removeEvent.key, event.requesterId );
             }
             else if ( event instanceof RemoveAllEvent )
@@ -275,7 +275,7 @@ public class ZombieCacheServiceNonLocal<
     /**
      * A basic Remove event.
      */
-    private static class RemoveEvent<K extends Serializable, V extends Serializable>
+    private static class RemoveEvent<K extends Serializable>
         extends ZombieEvent
     {
         /** The key to remove */



Mime
View raw message