Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Search for vulnerabilities resulting from the violation of this guideline on the CERT website.

Other Languages

Related Guidelines

This guideline appears in the Java Secure Coding Standard as : MET10-J. For methods that return an array or collection prefer returning an empty array or collection over a null value.

Bibliography

Wiki Markup
\[[Bloch 082008|java:AA. Bibliography#Bloch 08]\] Item 43: return empty arrays or collections, not nulls

...