myfaces-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Scott O'Bryan (JIRA)" <>
Subject [jira] Created: (JSR301-4) Remove unnecessary null checking
Date Fri, 28 Sep 2007 15:13:50 GMT
Remove unnecessary null checking

                 Key: JSR301-4
             Project: MyFaces Portlet Bridge
          Issue Type: Improvement
            Reporter: Scott O'Bryan

In many places throughout the code we are unnecessarily checking for null.  This defensive
approach, as opposed to relying on the contract, causes unnecessary overhead.  When getting
iterators, keySets, and valueSets from collections, these will always return non-null (albiet
empty) objects

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message