incubator-jspwiki-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Florian Holeczek <flor...@holeczek.de>
Subject Re: Current nightly fails on Geronimo 2.1.3
Date Thu, 12 Mar 2009 19:48:52 GMT
Hallo Janne,

> (A general question, should we start throwing something like
> PageNotFoundExceptions as opposed to returning nulls? That would  
> encourage a bit safer coding and would eliminate a number of  
> if(getPage() == null) tests across the codebase.)

definitely!

Testing for null is a bit of C programming style in my opinion ;-)

Regards
 Florian

Mime
View raw message