Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

#145 Fixed unnecessary check

open-fixed
None
5
2012-02-05
2011-12-11
Anonymous
No

noteViewerComponent is checked here to see whether it is null, but this value can't be null because it was previously dereferenced and if it were null a null pointer exception would have occurred at the earlier dereference. Essentially, this code and the previous dereference disagree as to whether this value is allowed to be null.

Discussion

  • commit 90450053c0372e0071c16b090e2e84aa8d51f83a

     
    • assigned_to: nobody --> christianfoltin
    • status: open --> open-fixed