Saturday, April 09, 2011

Java Coding Best Practices

  • When returning from a method, verify that NULL is a valid response from this method. If not, throw an exception or if the return type is a Collection, return an empty Collection.

0 Comments:

Post a Comment

<< Home