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 <[EMAIL PROTECTED]>
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: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]

Reply via email to