cocoon-dev mailing list archives

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

     [ https://issues.apache.org/jira/browse/COCOON-1989?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Reinhard Poetz closed COCOON-1989.
----------------------------------

       Resolution: Fixed
    Fix Version/s: 2.2-dev (Current SVN)

fixed it two hours ago. Please check out again.

> 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
>         Assigned To: Reinhard Poetz
>             Fix For: 2.2-dev (Current SVN)
>
>
> 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