JunChen00 commented on a change in pull request #2689:
URL: https://github.com/apache/iotdb/pull/2689#discussion_r579667782
##########
File path:
server/src/main/java/org/apache/iotdb/db/engine/cache/LRULinkedHashMap.java
##########
@@ -21,71 +21,56 @@
import org.apache.iotdb.tsfile.common.cache.Accountable;
-import java.util.Iterator;
import java.util.LinkedHashMap;
-import java.util.Map.Entry;
-import java.util.Set;
+import java.util.Map;
/** This class is an LRU cache. <b>Note: It's not thread safe.</b> */
-public abstract class LRULinkedHashMap<K extends Accountable, V> {
+public abstract class LRULinkedHashMap<K extends Accountable, V> extends
LinkedHashMap<K, V> {
Review comment:
Agree & Retract @JackieTien97
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]