#145 Fixed unnecessary check

open-fixed
None
5
2014-08-25
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

  • Comment has been marked as spam. 
    Undo

    You can see all pending comments posted by this user  here

    Anonymous - 2011-12-11
     
    Last edit: Anonymous 2014-07-20
  • Christian Foltin

    commit 90450053c0372e0071c16b090e2e84aa8d51f83a

     
  • Christian Foltin

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

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks