From issues-return-8338-apmail-commons-issues-archive=commons.apache.org@commons.apache.org Thu Jun 04 06:04:18 2009 Return-Path: Delivered-To: apmail-commons-issues-archive@minotaur.apache.org Received: (qmail 82387 invoked from network); 4 Jun 2009 06:04:18 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 4 Jun 2009 06:04:18 -0000 Received: (qmail 67007 invoked by uid 500); 4 Jun 2009 06:04:30 -0000 Delivered-To: apmail-commons-issues-archive@commons.apache.org Received: (qmail 66894 invoked by uid 500); 4 Jun 2009 06:04:29 -0000 Mailing-List: contact issues-help@commons.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: issues@commons.apache.org Delivered-To: mailing list issues@commons.apache.org Received: (qmail 66884 invoked by uid 99); 4 Jun 2009 06:04:29 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 04 Jun 2009 06:04:29 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 04 Jun 2009 06:04:27 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 58AD2234C004 for ; Wed, 3 Jun 2009 23:04:07 -0700 (PDT) Message-ID: <823161179.1244095447349.JavaMail.jira@brutus> Date: Wed, 3 Jun 2009 23:04:07 -0700 (PDT) From: "Oliver Heger (JIRA)" To: issues@commons.apache.org Subject: [jira] Updated: (CONFIGURATION-385) clearProperty does not generate events in DatabaseConfiguration In-Reply-To: <979495961.1244057827743.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/CONFIGURATION-385?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Oliver Heger updated CONFIGURATION-385: --------------------------------------- Fix Version/s: 1.7 That's true, {{DatabaseConfiguration}} should override {{clearPropertyDirect()}} rather than {{clearProperty()}}. Thank you for spotting this. Fortunately, this should be easy to fix. Note: The experimental configuration2 branch is also affected. > clearProperty does not generate events in DatabaseConfiguration > --------------------------------------------------------------- > > Key: CONFIGURATION-385 > URL: https://issues.apache.org/jira/browse/CONFIGURATION-385 > Project: Commons Configuration > Issue Type: Bug > Components: Events & Notifications > Affects Versions: 1.6 > Environment: Java 1.6 on Mac OSX 32 bit > Reporter: Shyam Santhanam > Fix For: 1.7 > > > clearProperty does not generate a EVENT_CLEAR_PROPERTY event because it overrides AbstractConfiguration.clearProperty instead of AbstractConfiguration.clearPropertyDirect as recommended by the superclass. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.