Menu

#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

  • Christian Foltin

    commit 90450053c0372e0071c16b090e2e84aa8d51f83a

     
  • Christian Foltin

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

    Dear contributor,

    thanks for your patch that has been integrated into the version control. You can verify that this is correct by considering
    http://freemind.git.sourceforge.net/git/gitweb.cgi?p=freemind/freemind;a=summary

    Best regards,

    Chris from the FreeMind team

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.