#272 Make NP_BOOLEAN_RETURN_NULL less strict

closed-fixed
None
5
2012-11-15
2012-07-24
No

I think it would be reasonable to allow returning null (which is usually forbidden by NP_BOOLEAN_RETURN_NULL) when the user consciously specifies the method as @Nullable or @CheckForNull.

I have 2 patches that implement this functionality. The one using the annotation database seems more elegant, but somehow misses the CheckForNull annotation in the testcase.

Discussion

  • William Pugh

    William Pugh - 2012-11-15
    • assigned_to: nobody --> wpugh
    • status: open --> closed-fixed
     

Log in to post a comment.

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

Sign up for the SourceForge newsletter:

JavaScript is required for this form.





No, thanks