Bug 110968 - document public constructors of subclasses of com.arsdigita.runtime.AbstractConfig
Summary: document public constructors of subclasses of com.arsdigita.runtime.AbstractC...
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat Web Application Framework
Classification: Retired
Component: other
Version: nightly
Hardware: All
OS: Linux
medium
low
Target Milestone: ---
Assignee: ccm-bugs-list
QA Contact: Jon Orris
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2003-11-25 23:31 UTC by Vadim Nasardinov
Modified: 2007-04-18 16:59 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2005-08-03 18:38:38 UTC
Embargoed:


Attachments (Terms of Use)

Description Vadim Nasardinov 2003-11-25 23:31:29 UTC
All of the subclasses of AbstractConfig (that I cared to look at)
provide a public constructor that is not meant to be used.  At
the very least, these constructors should have javadoc along the lines of

    /**
     * Do not instantiate this class directly.
     *
     * @see ContentSection#getConfig()
     **/
    public ContentSectionConfig() {
         ...
    }


Ideally, the singletonness should be enforced rather than advised,
unless there is some fundamental reason why it can't be enforced.

Comment 1 Vadim Nasardinov 2005-08-03 18:38:38 UTC
stale


Note You need to log in before you can comment on or make changes to this bug.