[jboss-jira] [JBoss JIRA] Created: (JBCACHE-792) ChainingCacheLoader method get(Fqn) - unecessary call of the next CacheLoader

Petr Charvat (JIRA) jira-events at jboss.com
Wed Oct 4 04:23:41 EDT 2006


ChainingCacheLoader method get(Fqn) - unecessary call of the next CacheLoader
-----------------------------------------------------------------------------

                 Key: JBCACHE-792
                 URL: http://jira.jboss.com/jira/browse/JBCACHE-792
             Project: JBoss Cache
          Issue Type: Bug
      Security Level: Public (Everyone can see)
          Components: Cache loaders
    Affects Versions: 1.4.0.SP1
            Reporter: Petr Charvat
         Assigned To: Manik Surtani


The condition, which break cycle of calling next cache loader is wrong.
Instead of 
 if (answer != null && answer.size() > 0) break;
should be 
if (answer != null) break;



-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jboss-jira mailing list