Return-Path: X-Original-To: apmail-commons-issues-archive@minotaur.apache.org Delivered-To: apmail-commons-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 7FF75EF51 for ; Tue, 26 Feb 2013 12:40:15 +0000 (UTC) Received: (qmail 66724 invoked by uid 500); 26 Feb 2013 12:40:13 -0000 Delivered-To: apmail-commons-issues-archive@commons.apache.org Received: (qmail 66553 invoked by uid 500); 26 Feb 2013 12:40:13 -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 66424 invoked by uid 99); 26 Feb 2013 12:40:13 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 26 Feb 2013 12:40:13 +0000 Date: Tue, 26 Feb 2013 12:40:13 +0000 (UTC) From: "Matthias Richter (JIRA)" To: issues@commons.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (CONFIGURATION-527) clearPropertyDirect() in AbstractConfiguration should be abstract MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/CONFIGURATION-527?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Matthias Richter updated CONFIGURATION-527: ------------------------------------------- Attachment: (was: patch) > clearPropertyDirect() in AbstractConfiguration should be abstract > ----------------------------------------------------------------- > > Key: CONFIGURATION-527 > URL: https://issues.apache.org/jira/browse/CONFIGURATION-527 > Project: Commons Configuration > Issue Type: Improvement > Components: Build > Affects Versions: 1.9 > Reporter: Matthias Richter > Priority: Minor > Attachments: patch.diff > > > The method clearPropertyDirect() in AbstractConfiguration has an empty implementation body. It is documented as "should be overwritten" but is not marked abstract. > It should be abstract to prevent errors when subclassing AbstractConfiguration and using the clear() method where (indirectly) clearPropertyDirect() is being called. > See addPropertyDirect() for comparison, which is abstract. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira