Return-Path: Delivered-To: apmail-cocoon-dev-archive@www.apache.org Received: (qmail 43668 invoked from network); 26 Jan 2007 09:55:13 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 26 Jan 2007 09:55:13 -0000 Received: (qmail 99586 invoked by uid 500); 26 Jan 2007 09:55:16 -0000 Delivered-To: apmail-cocoon-dev-archive@cocoon.apache.org Received: (qmail 99516 invoked by uid 500); 26 Jan 2007 09:55:16 -0000 Mailing-List: contact dev-help@cocoon.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: dev@cocoon.apache.org List-Id: Delivered-To: mailing list dev@cocoon.apache.org Received: (qmail 99418 invoked by uid 99); 26 Jan 2007 09:55:16 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 26 Jan 2007 01:55:16 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO brutus.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 26 Jan 2007 01:55:09 -0800 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 4D42E7142D4 for ; Fri, 26 Jan 2007 01:54:49 -0800 (PST) Message-ID: <2657751.1169805289310.JavaMail.jira@brutus> Date: Fri, 26 Jan 2007 01:54:49 -0800 (PST) From: "Rice Yeh (JIRA)" To: dev@cocoon.apache.org Subject: [jira] Created: (COCOON-1989) Always exception thrown in init() method of StoreJanitorImpl MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org 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.