You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@river.apache.org by "Ron Mann (JIRA)" <ji...@apache.org> on 2007/07/27 21:04:53 UTC

[jira] Created: (RIVER-126) LU should mention return values of methods must be non-null unless otherwise noted

LU should mention return values of methods must be non-null unless otherwise noted
----------------------------------------------------------------------------------

                 Key: RIVER-126
                 URL: https://issues.apache.org/jira/browse/RIVER-126
             Project: River
          Issue Type: Bug
          Components: net_jini_core
    Affects Versions: jtsk_2.1
            Reporter: Ron Mann
            Priority: Minor


Bugtraq ID [6308861|http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6308861]
Currently, the Lookup Service Specification in LU 2.5 explicitly prohibits a null return value from the two-parameter lookup() method in ServiceRegistrar.  This is the only place where language prohibits returning a null value from a method.  From the context, it can be inferred that this was done to distinguish this method from the single-parameter lookup(), which may return null.  That said, it might be useful to make a general statement that, unless otherwise noted, return values of the methods declared in this spec may not be null to avoid a different interpretation.

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