Skip to content
Snippets Groups Projects
Commit dcf9d05a authored by Rob Adams's avatar Rob Adams
Browse files

Fix Compiler warnings

parent 45998c1a
No related branches found
No related tags found
No related merge requests found
...@@ -30,8 +30,6 @@ import java.util.concurrent.ConcurrentMap; ...@@ -30,8 +30,6 @@ import java.util.concurrent.ConcurrentMap;
* @param <K> Type of the values in this cache * @param <K> Type of the values in this cache
*/ */
public class TimedCache<K> { public class TimedCache<K> {
private static final long serialVersionUID = 1L;
private final long timeoutInterval; //specified in milliseconds. private final long timeoutInterval; //specified in milliseconds.
private ConcurrentMap<K, Long> cache; private ConcurrentMap<K, Long> cache;
private long cacheHits; private long cacheHits;
......
...@@ -27,7 +27,6 @@ import java.util.List; ...@@ -27,7 +27,6 @@ import java.util.List;
import java.util.concurrent.ConcurrentHashMap; import java.util.concurrent.ConcurrentHashMap;
import java.util.concurrent.Future; import java.util.concurrent.Future;
import java.util.concurrent.TimeUnit; import java.util.concurrent.TimeUnit;
import java.util.concurrent.locks.Lock;
import java.util.concurrent.locks.ReentrantReadWriteLock; import java.util.concurrent.locks.ReentrantReadWriteLock;
import net.floodlightcontroller.core.FloodlightContext; import net.floodlightcontroller.core.FloodlightContext;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment