commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject svn commit: r1584222 - in /commons/proper/jcs/trunk/src/test/org/apache/commons/jcs: ./ auxiliary/ auxiliary/disk/ auxiliary/remote/ auxiliary/remote/http/client/
Date Thu, 03 Apr 2014 00:14:40 GMT
Author: sebb
Date: Thu Apr  3 00:14:40 2014
New Revision: 1584222

URL: http://svn.apache.org/r1584222
Log:
Add missing Java 1.6 @Override annotations

Modified:
    commons/proper/jcs/trunk/src/test/org/apache/commons/jcs/JCSThrashTest.java
    commons/proper/jcs/trunk/src/test/org/apache/commons/jcs/auxiliary/MockAuxiliaryCache.java
    commons/proper/jcs/trunk/src/test/org/apache/commons/jcs/auxiliary/MockAuxiliaryCacheAttributes.java
    commons/proper/jcs/trunk/src/test/org/apache/commons/jcs/auxiliary/MockAuxiliaryCacheFactory.java
    commons/proper/jcs/trunk/src/test/org/apache/commons/jcs/auxiliary/MockCacheEventLogger.java
    commons/proper/jcs/trunk/src/test/org/apache/commons/jcs/auxiliary/disk/AbstractDiskCacheUnitTest.java
    commons/proper/jcs/trunk/src/test/org/apache/commons/jcs/auxiliary/remote/MockRemoteCacheClient.java
    commons/proper/jcs/trunk/src/test/org/apache/commons/jcs/auxiliary/remote/MockRemoteCacheListener.java
    commons/proper/jcs/trunk/src/test/org/apache/commons/jcs/auxiliary/remote/MockRemoteCacheService.java
    commons/proper/jcs/trunk/src/test/org/apache/commons/jcs/auxiliary/remote/RemoteCacheClientTester.java
    commons/proper/jcs/trunk/src/test/org/apache/commons/jcs/auxiliary/remote/http/client/MockRemoteCacheDispatcher.java

Modified: commons/proper/jcs/trunk/src/test/org/apache/commons/jcs/JCSThrashTest.java
URL: http://svn.apache.org/viewvc/commons/proper/jcs/trunk/src/test/org/apache/commons/jcs/JCSThrashTest.java?rev=1584222&r1=1584221&r2=1584222&view=diff
==============================================================================
--- commons/proper/jcs/trunk/src/test/org/apache/commons/jcs/JCSThrashTest.java (original)
+++ commons/proper/jcs/trunk/src/test/org/apache/commons/jcs/JCSThrashTest.java Thu Apr  3
00:14:40 2014
@@ -174,6 +174,7 @@ public class JCSThrashTest
         {
             final JCSThrashTest.Executable executable = new JCSThrashTest.Executable()
             {
+                @Override
                 public void execute()
                     throws Exception
                 {
@@ -194,6 +195,7 @@ public class JCSThrashTest
         {
             final JCSThrashTest.Executable executable = new JCSThrashTest.Executable()
             {
+                @Override
                 public void execute()
                     throws Exception
                 {

Modified: commons/proper/jcs/trunk/src/test/org/apache/commons/jcs/auxiliary/MockAuxiliaryCache.java
URL: http://svn.apache.org/viewvc/commons/proper/jcs/trunk/src/test/org/apache/commons/jcs/auxiliary/MockAuxiliaryCache.java?rev=1584222&r1=1584221&r2=1584222&view=diff
==============================================================================
--- commons/proper/jcs/trunk/src/test/org/apache/commons/jcs/auxiliary/MockAuxiliaryCache.java
(original)
+++ commons/proper/jcs/trunk/src/test/org/apache/commons/jcs/auxiliary/MockAuxiliaryCache.java
Thu Apr  3 00:14:40 2014
@@ -53,6 +53,7 @@ public class MockAuxiliaryCache<K extend
      * @param ce
      * @throws IOException
      */
+    @Override
     public void update( ICacheElement<K, V> ce )
         throws IOException
     {
@@ -65,6 +66,7 @@ public class MockAuxiliaryCache<K extend
      * @return ICacheElement
      * @throws IOException
      */
+    @Override
     public ICacheElement<K, V> get( K key )
         throws IOException
     {
@@ -77,6 +79,7 @@ public class MockAuxiliaryCache<K extend
      * @return Map
      * @throws IOException
      */
+    @Override
     public Map<K, ICacheElement<K, V>> getMatching(String pattern)
         throws IOException
     {
@@ -91,6 +94,7 @@ public class MockAuxiliaryCache<K extend
      * @return a map of K key to ICacheElement<String, String> element, or an empty
map if there is no
      *         data in cache for any of these keys
      */
+    @Override
     public Map<K, ICacheElement<K, V>> getMultiple(Set<K> keys)
     {
         return new HashMap<K, ICacheElement<K, V>>();
@@ -101,6 +105,7 @@ public class MockAuxiliaryCache<K extend
      * @return boolean
      * @throws IOException
      */
+    @Override
     public boolean remove( K key )
         throws IOException
     {
@@ -111,6 +116,7 @@ public class MockAuxiliaryCache<K extend
     /**
      * @throws IOException
      */
+    @Override
     public void removeAll()
         throws IOException
     {
@@ -121,6 +127,7 @@ public class MockAuxiliaryCache<K extend
     /**
      * @throws IOException
      */
+    @Override
     public void dispose()
         throws IOException
     {
@@ -131,6 +138,7 @@ public class MockAuxiliaryCache<K extend
     /**
      * @return int
      */
+    @Override
     public int getSize()
     {
         // TODO Auto-generated method stub
@@ -140,6 +148,7 @@ public class MockAuxiliaryCache<K extend
     /**
      * @return int
      */
+    @Override
     public CacheStatus getStatus()
     {
         return status;
@@ -148,6 +157,7 @@ public class MockAuxiliaryCache<K extend
     /**
      * @return null
      */
+    @Override
     public String getCacheName()
     {
         return null;
@@ -158,6 +168,7 @@ public class MockAuxiliaryCache<K extend
      * <p>
      * @see org.apache.commons.jcs.auxiliary.disk.AbstractDiskCache#getKeySet()
      */
+    @Override
     public Set<K> getKeySet() throws IOException
     {
         return null;
@@ -166,6 +177,7 @@ public class MockAuxiliaryCache<K extend
     /**
      * @return null
      */
+    @Override
     public IStats getStatistics()
     {
         return null;
@@ -174,6 +186,7 @@ public class MockAuxiliaryCache<K extend
     /**
      * @return null
      */
+    @Override
     public String getStats()
     {
         return null;
@@ -182,6 +195,7 @@ public class MockAuxiliaryCache<K extend
     /**
      * @return cacheType
      */
+    @Override
     public CacheType getCacheType()
     {
         return cacheType;
@@ -190,6 +204,7 @@ public class MockAuxiliaryCache<K extend
     /**
      * @return Returns the AuxiliaryCacheAttributes.
      */
+    @Override
     public AuxiliaryCacheAttributes getAuxiliaryCacheAttributes()
     {
         return null;

Modified: commons/proper/jcs/trunk/src/test/org/apache/commons/jcs/auxiliary/MockAuxiliaryCacheAttributes.java
URL: http://svn.apache.org/viewvc/commons/proper/jcs/trunk/src/test/org/apache/commons/jcs/auxiliary/MockAuxiliaryCacheAttributes.java?rev=1584222&r1=1584221&r2=1584222&view=diff
==============================================================================
--- commons/proper/jcs/trunk/src/test/org/apache/commons/jcs/auxiliary/MockAuxiliaryCacheAttributes.java
(original)
+++ commons/proper/jcs/trunk/src/test/org/apache/commons/jcs/auxiliary/MockAuxiliaryCacheAttributes.java
Thu Apr  3 00:14:40 2014
@@ -31,6 +31,7 @@ public class MockAuxiliaryCacheAttribute
      * <p>
      * @return this
      */
+    @Override
     public AuxiliaryCacheAttributes copy()
     {
         return this;

Modified: commons/proper/jcs/trunk/src/test/org/apache/commons/jcs/auxiliary/MockAuxiliaryCacheFactory.java
URL: http://svn.apache.org/viewvc/commons/proper/jcs/trunk/src/test/org/apache/commons/jcs/auxiliary/MockAuxiliaryCacheFactory.java?rev=1584222&r1=1584221&r2=1584222&view=diff
==============================================================================
--- commons/proper/jcs/trunk/src/test/org/apache/commons/jcs/auxiliary/MockAuxiliaryCacheFactory.java
(original)
+++ commons/proper/jcs/trunk/src/test/org/apache/commons/jcs/auxiliary/MockAuxiliaryCacheFactory.java
Thu Apr  3 00:14:40 2014
@@ -41,6 +41,7 @@ public class MockAuxiliaryCacheFactory
      * @param elementSerializer
      * @return AuxiliaryCache
      */
+    @Override
     public <K extends Serializable, V extends Serializable> AuxiliaryCache<K, V>
         createCache( AuxiliaryCacheAttributes attr, ICompositeCacheManager cacheMgr,
            ICacheEventLogger cacheEventLogger, IElementSerializer elementSerializer )
@@ -54,6 +55,7 @@ public class MockAuxiliaryCacheFactory
     /**
      * @return String
      */
+    @Override
     public String getName()
     {
         return name;
@@ -62,6 +64,7 @@ public class MockAuxiliaryCacheFactory
     /**
      * @param s
      */
+    @Override
     public void setName( String s )
     {
         this.name = s;

Modified: commons/proper/jcs/trunk/src/test/org/apache/commons/jcs/auxiliary/MockCacheEventLogger.java
URL: http://svn.apache.org/viewvc/commons/proper/jcs/trunk/src/test/org/apache/commons/jcs/auxiliary/MockCacheEventLogger.java?rev=1584222&r1=1584221&r2=1584222&view=diff
==============================================================================
--- commons/proper/jcs/trunk/src/test/org/apache/commons/jcs/auxiliary/MockCacheEventLogger.java
(original)
+++ commons/proper/jcs/trunk/src/test/org/apache/commons/jcs/auxiliary/MockCacheEventLogger.java
Thu Apr  3 00:14:40 2014
@@ -54,6 +54,7 @@ public class MockCacheEventLogger
      * @param eventName
      * @param optionalDetails
      */
+    @Override
     public void logApplicationEvent( String source, String eventName, String optionalDetails
)
     {
         applicationEventCalls++;
@@ -62,6 +63,7 @@ public class MockCacheEventLogger
     /**
      * @param event
      */
+    @Override
     public <T extends Serializable> void logICacheEvent( ICacheEvent<T> event
)
     {
         endICacheEventCalls++;
@@ -72,6 +74,7 @@ public class MockCacheEventLogger
      * @param eventName
      * @param errorMessage
      */
+    @Override
     public void logError( String source, String eventName, String errorMessage )
     {
         errorEventCalls++;
@@ -86,6 +89,7 @@ public class MockCacheEventLogger
      * @param key
      * @return ICacheEvent
      */
+    @Override
     public <T extends Serializable> ICacheEvent<T> createICacheEvent( String
source, String region,
             String eventName, String optionalDetails, T key )
     {

Modified: commons/proper/jcs/trunk/src/test/org/apache/commons/jcs/auxiliary/disk/AbstractDiskCacheUnitTest.java
URL: http://svn.apache.org/viewvc/commons/proper/jcs/trunk/src/test/org/apache/commons/jcs/auxiliary/disk/AbstractDiskCacheUnitTest.java?rev=1584222&r1=1584221&r2=1584222&view=diff
==============================================================================
--- commons/proper/jcs/trunk/src/test/org/apache/commons/jcs/auxiliary/disk/AbstractDiskCacheUnitTest.java
(original)
+++ commons/proper/jcs/trunk/src/test/org/apache/commons/jcs/auxiliary/disk/AbstractDiskCacheUnitTest.java
Thu Apr  3 00:14:40 2014
@@ -296,6 +296,7 @@ public class AbstractDiskCacheUnitTest
         /**
          * @return null
          */
+        @Override
         public AuxiliaryCacheAttributes getAuxiliaryCacheAttributes()
         {
             return diskCacheAttributes;

Modified: commons/proper/jcs/trunk/src/test/org/apache/commons/jcs/auxiliary/remote/MockRemoteCacheClient.java
URL: http://svn.apache.org/viewvc/commons/proper/jcs/trunk/src/test/org/apache/commons/jcs/auxiliary/remote/MockRemoteCacheClient.java?rev=1584222&r1=1584221&r2=1584222&view=diff
==============================================================================
--- commons/proper/jcs/trunk/src/test/org/apache/commons/jcs/auxiliary/remote/MockRemoteCacheClient.java
(original)
+++ commons/proper/jcs/trunk/src/test/org/apache/commons/jcs/auxiliary/remote/MockRemoteCacheClient.java
Thu Apr  3 00:14:40 2014
@@ -80,6 +80,7 @@ public class MockRemoteCacheClient<K ext
      * <p>
      * @see org.apache.commons.jcs.auxiliary.remote.behavior.IRemoteCacheClient#fixCache(org.apache.commons.jcs.engine.behavior.ICacheServiceNonLocal)
      */
+    @Override
     @SuppressWarnings("unchecked") // Don't know how to do this properly
     public void fixCache( ICacheServiceNonLocal<?, ?> remote )
     {
@@ -89,6 +90,7 @@ public class MockRemoteCacheClient<K ext
     /**
      * @return long
      */
+    @Override
     public long getListenerId()
     {
         return 0;
@@ -97,6 +99,7 @@ public class MockRemoteCacheClient<K ext
     /**
      * @return null
      */
+    @Override
     public IRemoteCacheListener<K, V> getListener()
     {
         return null;
@@ -108,6 +111,7 @@ public class MockRemoteCacheClient<K ext
      * (non-Javadoc)
      * @see org.apache.commons.jcs.auxiliary.AuxiliaryCache#update(org.apache.commons.jcs.engine.behavior.ICacheElement)
      */
+    @Override
     public void update( ICacheElement<K, V> ce )
     {
         updateList.add( ce );
@@ -119,6 +123,7 @@ public class MockRemoteCacheClient<K ext
      * (non-Javadoc)
      * @see org.apache.commons.jcs.auxiliary.AuxiliaryCache#get(java.io.Serializable)
      */
+    @Override
     public ICacheElement<K, V> get( K key )
     {
         log.info( "get [" + key + "]" );
@@ -132,6 +137,7 @@ public class MockRemoteCacheClient<K ext
      * @return a map of K key to ICacheElement<K, V> element, or an empty map if there
is no
      *         data in cache for any of these keys
      */
+    @Override
     public Map<K, ICacheElement<K, V>> getMultiple(Set<K> keys)
     {
         log.info( "get [" + keys + "]" );
@@ -144,6 +150,7 @@ public class MockRemoteCacheClient<K ext
      * (non-Javadoc)
      * @see org.apache.commons.jcs.auxiliary.AuxiliaryCache#remove(java.io.Serializable)
      */
+    @Override
     public boolean remove( K key )
     {
         removeList.add( key );
@@ -153,6 +160,7 @@ public class MockRemoteCacheClient<K ext
     /**
      * Removes all cached items from the cache.
      */
+    @Override
     public void removeAll()
     {
         // do nothing
@@ -161,6 +169,7 @@ public class MockRemoteCacheClient<K ext
     /**
      * Prepares for shutdown.
      */
+    @Override
     public void dispose()
     {
         // do nothing
@@ -171,6 +180,7 @@ public class MockRemoteCacheClient<K ext
      * <p>
      * @return number of elements
      */
+    @Override
     public int getSize()
     {
         return 0;
@@ -180,6 +190,7 @@ public class MockRemoteCacheClient<K ext
      * Returns the status setup variable. (non-Javadoc)
      * @see org.apache.commons.jcs.auxiliary.AuxiliaryCache#getStatus()
      */
+    @Override
     public CacheStatus getStatus()
     {
         return status;
@@ -190,6 +201,7 @@ public class MockRemoteCacheClient<K ext
      * <p>
      * @return usually the region name.
      */
+    @Override
     public String getCacheName()
     {
         return null;
@@ -198,6 +210,7 @@ public class MockRemoteCacheClient<K ext
     /**
      * @return null
      */
+    @Override
     public Set<K> getKeySet( )
     {
         return null;
@@ -206,6 +219,7 @@ public class MockRemoteCacheClient<K ext
     /**
      * @return null
      */
+    @Override
     public IStats getStatistics()
     {
         return null;
@@ -217,6 +231,7 @@ public class MockRemoteCacheClient<K ext
      * (non-Javadoc)
      * @see org.apache.commons.jcs.auxiliary.AuxiliaryCache#getAuxiliaryCacheAttributes()
      */
+    @Override
     public AuxiliaryCacheAttributes getAuxiliaryCacheAttributes()
     {
         return attributes;
@@ -227,12 +242,14 @@ public class MockRemoteCacheClient<K ext
      * <p>
      * @return String of important historical information.
      */
+    @Override
     public String getStats()
     {
         return null;
     }
 
     /** @return 0 */
+    @Override
     public CacheType getCacheType()
     {
         return CacheType.REMOTE_CACHE;
@@ -243,6 +260,7 @@ public class MockRemoteCacheClient<K ext
      * @return Map
      * @throws IOException
      */
+    @Override
     public Map<K, ICacheElement<K, V>> getMatching(String pattern)
         throws IOException
     {

Modified: commons/proper/jcs/trunk/src/test/org/apache/commons/jcs/auxiliary/remote/MockRemoteCacheListener.java
URL: http://svn.apache.org/viewvc/commons/proper/jcs/trunk/src/test/org/apache/commons/jcs/auxiliary/remote/MockRemoteCacheListener.java?rev=1584222&r1=1584221&r2=1584222&view=diff
==============================================================================
--- commons/proper/jcs/trunk/src/test/org/apache/commons/jcs/auxiliary/remote/MockRemoteCacheListener.java
(original)
+++ commons/proper/jcs/trunk/src/test/org/apache/commons/jcs/auxiliary/remote/MockRemoteCacheListener.java
Thu Apr  3 00:14:40 2014
@@ -60,6 +60,7 @@ public class MockRemoteCacheListener<K e
     /**
      * @throws IOException
      */
+    @Override
     public void dispose()
         throws IOException
     {
@@ -71,6 +72,7 @@ public class MockRemoteCacheListener<K e
      * @return listenerId
      * @throws IOException
      */
+    @Override
     public long getListenerId()
         throws IOException
     {
@@ -81,6 +83,7 @@ public class MockRemoteCacheListener<K e
      * @return localAddress
      * @throws IOException
      */
+    @Override
     public String getLocalHostAddress()
         throws IOException
     {
@@ -92,6 +95,7 @@ public class MockRemoteCacheListener<K e
      * @return remoteType
      * @throws IOException
      */
+    @Override
     public RemoteType getRemoteType()
         throws IOException
     {
@@ -104,6 +108,7 @@ public class MockRemoteCacheListener<K e
      * @param id
      * @throws IOException
      */
+    @Override
     public void setListenerId( long id )
         throws IOException
     {
@@ -114,6 +119,7 @@ public class MockRemoteCacheListener<K e
      * @param cacheName
      * @throws IOException
      */
+    @Override
     public void handleDispose( String cacheName )
         throws IOException
     {
@@ -127,6 +133,7 @@ public class MockRemoteCacheListener<K e
      * @param item
      * @throws IOException
      */
+    @Override
     public void handlePut( ICacheElement<K, V> item )
         throws IOException
     {
@@ -141,6 +148,7 @@ public class MockRemoteCacheListener<K e
      * @param key
      * @throws IOException
      */
+    @Override
     public void handleRemove( String cacheName, K key )
         throws IOException
     {
@@ -152,6 +160,7 @@ public class MockRemoteCacheListener<K e
      * @param cacheName
      * @throws IOException
      */
+    @Override
     public void handleRemoveAll( String cacheName )
         throws IOException
     {

Modified: commons/proper/jcs/trunk/src/test/org/apache/commons/jcs/auxiliary/remote/MockRemoteCacheService.java
URL: http://svn.apache.org/viewvc/commons/proper/jcs/trunk/src/test/org/apache/commons/jcs/auxiliary/remote/MockRemoteCacheService.java?rev=1584222&r1=1584221&r2=1584222&view=diff
==============================================================================
--- commons/proper/jcs/trunk/src/test/org/apache/commons/jcs/auxiliary/remote/MockRemoteCacheService.java
(original)
+++ commons/proper/jcs/trunk/src/test/org/apache/commons/jcs/auxiliary/remote/MockRemoteCacheService.java
Thu Apr  3 00:14:40 2014
@@ -67,6 +67,7 @@ public class MockRemoteCacheService<K ex
      * @param requesterId
      * @return null
      */
+    @Override
     public ICacheElement<K, V> get( String cacheName, K key, long requesterId )
     {
         lastGetKey = key;
@@ -77,6 +78,7 @@ public class MockRemoteCacheService<K ex
      * @param cacheName
      * @return empty set
      */
+    @Override
     public Set<K> getKeySet( String cacheName )
     {
         return new HashSet<K>();
@@ -89,6 +91,7 @@ public class MockRemoteCacheService<K ex
      * @param key
      * @param requesterId
      */
+    @Override
     public void remove( String cacheName, K key, long requesterId )
     {
         lastRemoveKey = key;
@@ -101,6 +104,7 @@ public class MockRemoteCacheService<K ex
      * @see org.apache.commons.jcs.auxiliary.remote.behavior.ICacheServiceNonLocal#removeAll(java.lang.String,
      *      long)
      */
+    @Override
     public void removeAll( String cacheName, long requesterId )
         throws IOException
     {
@@ -113,6 +117,7 @@ public class MockRemoteCacheService<K ex
      * @param item
      * @param requesterId
      */
+    @Override
     public void update( ICacheElement<K, V> item, long requesterId )
     {
         lastUpdate = item;
@@ -125,6 +130,7 @@ public class MockRemoteCacheService<K ex
      * <p>
      * @param cacheName
      */
+    @Override
     public void dispose( String cacheName )
     {
         return;
@@ -135,6 +141,7 @@ public class MockRemoteCacheService<K ex
      * @param key
      * @return null
      */
+    @Override
     public ICacheElement<K, V> get( String cacheName, K key )
     {
         return get( cacheName, key, 0 );
@@ -143,6 +150,7 @@ public class MockRemoteCacheService<K ex
     /**
      * Do nothing.
      */
+    @Override
     public void release()
     {
         return;
@@ -154,6 +162,7 @@ public class MockRemoteCacheService<K ex
      * @param cacheName
      * @param key
      */
+    @Override
     public void remove( String cacheName, K key )
     {
         lastRemoveKey = key;
@@ -164,6 +173,7 @@ public class MockRemoteCacheService<K ex
      * <p>
      * @param cacheName
      */
+    @Override
     public void removeAll( String cacheName )
     {
         lastRemoveAllCacheName = cacheName;
@@ -174,6 +184,7 @@ public class MockRemoteCacheService<K ex
      * <p>
      * @param item
      */
+    @Override
     public void update( ICacheElement<K, V> item )
     {
         lastUpdate = item;
@@ -185,6 +196,7 @@ public class MockRemoteCacheService<K ex
      * @param requesterId
      * @return empty map
      */
+    @Override
     public Map<K, ICacheElement<K, V>> getMultiple( String cacheName, Set<K>
keys, long requesterId )
     {
         lastGetMultipleKeys = keys;
@@ -196,6 +208,7 @@ public class MockRemoteCacheService<K ex
      * @param keys
      * @return empty map
      */
+    @Override
     public Map<K, ICacheElement<K, V>> getMultiple( String cacheName, Set<K>
keys )
     {
         return getMultiple( cacheName, keys, 0 );
@@ -209,6 +222,7 @@ public class MockRemoteCacheService<K ex
      * @return an empty map
      * @throws IOException
      */
+    @Override
     public Map<K, ICacheElement<K, V>> getMatching( String cacheName, String
pattern )
         throws IOException
     {
@@ -222,6 +236,7 @@ public class MockRemoteCacheService<K ex
      * @return Map
      * @throws IOException
      */
+    @Override
     public Map<K, ICacheElement<K, V>> getMatching( String cacheName, String
pattern, long requesterId )
         throws IOException
     {

Modified: commons/proper/jcs/trunk/src/test/org/apache/commons/jcs/auxiliary/remote/RemoteCacheClientTester.java
URL: http://svn.apache.org/viewvc/commons/proper/jcs/trunk/src/test/org/apache/commons/jcs/auxiliary/remote/RemoteCacheClientTester.java?rev=1584222&r1=1584221&r2=1584222&view=diff
==============================================================================
--- commons/proper/jcs/trunk/src/test/org/apache/commons/jcs/auxiliary/remote/RemoteCacheClientTester.java
(original)
+++ commons/proper/jcs/trunk/src/test/org/apache/commons/jcs/auxiliary/remote/RemoteCacheClientTester.java
Thu Apr  3 00:14:40 2014
@@ -67,6 +67,7 @@ public class RemoteCacheClientTester
      * @return The remoteType value
      * @throws IOException
      */
+    @Override
     public RemoteType getRemoteType()
         throws IOException
     {
@@ -201,6 +202,7 @@ public class RemoteCacheClientTester
      * @param cb
      * @throws IOException
      */
+    @Override
     public void handlePut( ICacheElement<String, String> cb )
         throws IOException
     {
@@ -212,6 +214,7 @@ public class RemoteCacheClientTester
      * @param key
      * @throws IOException
      */
+    @Override
     public void handleRemove( String cacheName, String key )
         throws IOException
     {
@@ -222,6 +225,7 @@ public class RemoteCacheClientTester
      * @param cacheName
      * @throws IOException
      */
+    @Override
     public void handleRemoveAll( String cacheName )
         throws IOException
     {
@@ -232,6 +236,7 @@ public class RemoteCacheClientTester
      * @param cacheName
      * @throws IOException
      */
+    @Override
     public void handleDispose( String cacheName )
         throws IOException
     {
@@ -284,6 +289,7 @@ public class RemoteCacheClientTester
      * @param id The new listenerId value
      * @throws IOException
      */
+    @Override
     public void setListenerId( long id )
         throws IOException
     {
@@ -296,6 +302,7 @@ public class RemoteCacheClientTester
      * @return The listenerId value
      * @throws IOException
      */
+    @Override
     public long getListenerId()
         throws IOException
     {
@@ -315,6 +322,7 @@ public class RemoteCacheClientTester
      * @return null
      * @throws IOException
      */
+    @Override
     public String getLocalHostAddress()
         throws IOException
     {
@@ -325,6 +333,7 @@ public class RemoteCacheClientTester
     /**
      * @throws IOException
      */
+    @Override
     public void dispose()
         throws IOException
     {

Modified: commons/proper/jcs/trunk/src/test/org/apache/commons/jcs/auxiliary/remote/http/client/MockRemoteCacheDispatcher.java
URL: http://svn.apache.org/viewvc/commons/proper/jcs/trunk/src/test/org/apache/commons/jcs/auxiliary/remote/http/client/MockRemoteCacheDispatcher.java?rev=1584222&r1=1584221&r2=1584222&view=diff
==============================================================================
--- commons/proper/jcs/trunk/src/test/org/apache/commons/jcs/auxiliary/remote/http/client/MockRemoteCacheDispatcher.java
(original)
+++ commons/proper/jcs/trunk/src/test/org/apache/commons/jcs/auxiliary/remote/http/client/MockRemoteCacheDispatcher.java
Thu Apr  3 00:14:40 2014
@@ -42,6 +42,7 @@ public class MockRemoteCacheDispatcher
      * @return RemoteCacheResponse
      * @throws IOException
      */
+    @Override
     @SuppressWarnings("unchecked")
     public <K extends Serializable, V extends Serializable, T>
         RemoteCacheResponse<T> dispatchRequest( RemoteCacheRequest<K, V> remoteCacheRequest
)



Mime
View raw message