Peter Courcoux <[EMAIL PROTECTED]> writes:
>Henning,
>I may be wrong, but resourcesDirectory is set in init() by pulling the
>property from Configuration and skinsDirectory is set also in init() by
>getting the absolute path and appending a static final to
>resourcesDirectory.
>It looked to me as though these were ok static. What am I missing?
The init() method is not static, so there might be more than one
object in this class. These objects might want to have different
settings (which is, admittedly, quite improbable). IMHO it is bad
style to set a class related variable from an object member function.
But yes, the change shouldn't do anything in practice because these fields
will most surely be always identical in all objects of the class.
Regards
Henning
--
Dipl.-Inf. (Univ.) Henning P. Schmiedehausen INTERMETA GmbH
[EMAIL PROTECTED] +49 9131 50 654 0 http://www.intermeta.de/
Java, perl, Solaris, Linux, xSP Consulting, Web Services
freelance consultant -- Jakarta Turbine Development -- hero for hire
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]