Commits

la...@81dbac14-341a-0410-aa85-cbcd92e6f43e  committed 55bb3af

dead store removed

  • Participants
  • Parent commits 4991713

Comments (0)

Files changed (1)

File src/java/com/opensymphony/oscache/base/AbstractCacheAdministrator.java

      * classes that are specified in the OSCache configuration file.
      */
     protected CacheEventListener[] getCacheEventListeners() {
-        CacheEventListener[] listeners = null;
-
         List classes = StringUtil.split(config.getProperty(CACHE_ENTRY_EVENT_LISTENERS_KEY), ',');
-        listeners = new CacheEventListener[classes.size()];
+        CacheEventListener[] listeners = new CacheEventListener[classes.size()];
 
         for (int i = 0; i < classes.size(); i++) {
             String className = (String) classes.get(i);