You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cocoon.apache.org by "Reinhard Poetz (JIRA)" <ji...@apache.org> on 2007/01/26 11:06:49 UTC
[jira] Assigned: (COCOON-1989) Always exception thrown in init()
method of StoreJanitorImpl
[ https://issues.apache.org/jira/browse/COCOON-1989?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Reinhard Poetz reassigned COCOON-1989:
--------------------------------------
Assignee: Reinhard Poetz
> 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.