Craig L Russell wrote:


For instance, in this commit, if you follow the Java coding standard,
the "static final log = ..." should be "static final LOG = ..."
(http://java.sun.com/docs/codeconv/html/CodeConventions.doc8.html#367).

This is the first time I've seen the upper case convention applied to a reference type. I've seen it applied to primitives, like int, String, float, etc. But never to Log or I18NHelper or the like.
http://java.sun.com/docs/codeconv/html/CodeConventions.doc8.html

IMHO, it enters into the 'constant' category. But this can be discussed, this is just a matter of taste. (I have used both style, log and LOG, depending on the projects I worked on. But in any case, when the project's convention told me to use log, or LOG, I complied :)

--
--
cordialement, regards,
Emmanuel Lécharny
www.iktek.com
directory.apache.org


Reply via email to