xmlgraphics-fop-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael Gratton <...@recalldesign.com>
Subject Re: FOP Style Guide (update)
Date Wed, 08 Jan 2003 00:28:42 GMT


Michael Gratton wrote:
> 
> Surely:
> 
>   return isEnabled();
> 
> is far, far better - it more clearly expresses your intent.
> 

Err, unless you don't want to return if isEnabled() returns false.. I 
think I might go get that coffee now..

:(

Anyway, I don't think

   if (isEnabled()) {
       return true;
   }

is too onerous. Sun's code conventions reccomend it.

/mike

-- 
Michael Gratton <mjg@recalldesign.com>
Recall Design <http://www.recalldesign.com/>
s: 53 Gilbert Street Adelaide SA 5000 Australia
t: +61 8 8217 0500 f: +61 8 8217 0555


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


Mime
View raw message