Commits

Anonymous committed bf160d0

Removed redundant code

Comments (0)

Files changed (1)

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

         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);