cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rice Yeh (JIRA)" <j...@apache.org>
Subject [jira] Created: (COCOON-1989) Always exception thrown in init() method of StoreJanitorImpl
Date Fri, 26 Jan 2007 09:54:49 GMT
Always exception thrown in init() method of StoreJanitorImpl
------------------------------------------------------------

                 Key: COCOON-1989
                 URL: https://issues.apache.org/jira/browse/COCOON-1989
             Project: Cocoon
          Issue Type: Bug
          Components: * Cocoon Core
    Affects Versions: 2.2-dev (Current SVN)
            Reporter: Rice Yeh


The if statement at line 222 (see the following) in the init() method of StoreJanitorImpl
is very weird. 
        if (!this.freeingAlgorithm.equals(ALG_ROUND_ROBIN) || !this.freeingAlgorithm.equals(ALG_ALL_STORES))

It always return true and hence exception is thrown. The correct statement should be 
        if (!this.freeingAlgorithm.equals(ALG_ROUND_ROBIN) && !this.freeingAlgorithm.equals(ALG_ALL_STORES))
.

Rice

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message