Am I missing something or can static final variable values be overridden?  I
don't think they can and thus I don't see the use case where you would
extend a constants class.

James

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] 
Sent: Friday, June 10, 2005 1:42 PM
To: [email protected]
Subject: RE: svn commit: r189997 - in
/struts/shale/trunk/core-library/src/java/org/apache/shale: Constants.java
faces/ShaleConstants.java

        [snip]   
> +    /**
> +     * <p>Private constructor so that this class cannot be 
> instantiated.</p>
> +     */
> +    private ShaleConstants() {}
> +

Why would you want to do that?  This prevents someone from extending the
class with their own constants.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to