1. opensymphony
  2. oscache

Commits

chri...@81dbac14-341a-0410-aa85-cbcd92e6f43e  committed bf160d0

Removed redundant code

  • Participants
  • Parent commits 867a1f4
  • Branches default

Comments (0)

Files changed (1)

File src/core/java/com/opensymphony/oscache/base/Cache.java

View file
         if (!entry.isNew()) {
             // Update the entry's state in the map
             cacheMap.put(key, entry);
-
-        } else {
-            // The entry did not exist in the cache anyway, nothing to flush
-            // TODO: Do we need an event for this?
         }
         // Trigger an ENTRY_FLUSHED event. [CACHE-107] Do this for all flushes.
         CacheEntryEvent event = new CacheEntryEvent(this, entry, origin);