diff options
Diffstat (limited to 'src/main/java/com/juick/util/PrettyTimeFormatter.java')
-rw-r--r-- | src/main/java/com/juick/util/PrettyTimeFormatter.java | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/src/main/java/com/juick/util/PrettyTimeFormatter.java b/src/main/java/com/juick/util/PrettyTimeFormatter.java index 5c736413..34a230f5 100644 --- a/src/main/java/com/juick/util/PrettyTimeFormatter.java +++ b/src/main/java/com/juick/util/PrettyTimeFormatter.java @@ -33,11 +33,6 @@ public class PrettyTimeFormatter { // Cache PrettyTime per locale. LRU cache to prevent memory leak. private static final Map<Locale, PrettyTime> PRETTY_TIME_LOCALE_MAP = new LinkedHashMap<>(MAX_CACHE_SIZE + 1, 1.1F, true) { - /** - * - */ - private static final long serialVersionUID = 1828878791879310392L; - @Override protected boolean removeEldestEntry(Map.Entry<Locale, PrettyTime> eldest) { return size() > MAX_CACHE_SIZE; |