|
![]() |
Tim Driven Development | Test until the fear goes away
Tim Cooke wrote:Surely this is a NullPointerException?
Tim Driven Development | Test until the fear goes away
Yes, you can; I hadn't noticed that part of the requirements. Of course, in design terms, that is a bit like the following technique to stop a lion clawing me to death.Liutauras Vilda wrote:
. . . You can call a static method . . .Tim Cooke wrote:Surely this is a NullPointerException?
Thank goodness for that!Istvan Kovacs wrote:. . . It was not my intention to have anyone killed by a lion. . . .
RTFJD (the JavaDocs are your friends!) If you haven't read them in a long time, then RRTFJD (they might have changed!)
But Object#finalize() usually doesn't run more than once either.Jesse Silverman wrote:. . . Cleaner's .run() is guaranteed to run at most once.
Yes, it is.. . . Very good "puzzler"!
Istvan Kovacs wrote:To be honest, I didn't write this just to show some corner case.
Lookout! Runaway whale! Hide behind this tiny ad:
Low Tech Laboratory
https://www.kickstarter.com/projects/paulwheaton/low-tech-0
|