posted 18 years ago
Is the above an appropriate use of assertions? Acc. to Whizlabs it is, but for me, a method is getting called which wouldn't be if assertions were disabled (the side-effect thing).
Or, is Whizlabs correct, only because the method does nothing "significant"?
[ October 07, 2006: Message edited by: Aniket Patil ]
SCJP 5.0 | SCWCD 1.4 <br /> <br />If you don't know where you are going, any road will take you there!