You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Matthias Richter (JIRA)" <ji...@apache.org> on 2013/02/26 13:38:12 UTC
[jira] [Created] (CONFIGURATION-527) clearPropertyDirect() in
AbstractConfiguration should be abstract
Matthias Richter created CONFIGURATION-527:
----------------------------------------------
Summary: 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
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