>static {
>if (System.getProperty("org.apache.commons.lang.Debug") != null) {
>  debugLogging = true;
>}
>}
>
>If it's useful for us, it might be useful for other developers.

Careful, this would throw a SecurityException when used in an unsigned
applet or webstart app.  It also has the disadvantage of not being optimised
out by the compiler as would be the case with an 'if (DEBUG)' where DEBUG is
static final DEBUG = true/false.

Just something to keep in mind....

Adrian Sutton, Software Engineer
Ephox Corporation
www.ephox.com

This email and any files transmitted with it are confidential and intended
solely for the use of the individual to whom they are addressed. Opinions
contained in this email do not necessarily reflect the opinions of Ephox
Corporation.
If you have received this email in error please notify the sender
immediately and delete all copies of the correspondence from your computer
and/or computer network. No warranty is given that this message upon its
receipt is virus free and the sender in this respect accepts no liability.


--
To unsubscribe, e-mail:   <mailto:commons-dev-unsubscribe@;jakarta.apache.org>
For additional commands, e-mail: <mailto:commons-dev-help@;jakarta.apache.org>

Reply via email to