Re: Warnings
Posted: Fri Aug 07, 2009 10:36 am
by Craig Shearer >> Wed, 7 Jun 2000 21:00:52 GMT
One warning that I would like to see would be for JADE to analyse execution paths in my methods and provide warnings where a path doesn't return a result. This sort of thing has caught me out several times!
Perhaps there could be an option in JADE where if a method that has a return type doesn't actually return anything, then an exception is raised, rather than just returning null.
Craig.
One warning that I would like to see would be for JADE to analyse execution paths in my methods and provide warnings where a path doesn't return a result. This sort of thing has caught me out several times!
Perhaps there could be an option in JADE where if a method that has a return type doesn't actually return anything, then an exception is raised, rather than just returning null.
Craig.