xmlgraphics-fop-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "J.Pietschmann" <j3322...@yahoo.de>
Subject Re: FOP Style Guide (update)
Date Wed, 08 Jan 2003 15:28:21 GMT
Peter B. West wrote:
> if (isEnabled()) {
>     return true;
> }
> 
> is absurd.

Not necessarily. I it *much* easier to add a
System.out.println() to this than to either

   if (isEnabled())    return true;
or
   if (isEnabled())
     return true;

If you are debugging code written by someone else,
this should be worth the trouble of the additional
line with the closing brace.


J.Pietschmann



---------------------------------------------------------------------
To unsubscribe, e-mail: fop-dev-unsubscribe@xml.apache.org
For additional commands, email: fop-dev-help@xml.apache.org


Mime
View raw message