You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@abdera.apache.org by "David Calavera (JIRA)" <ji...@apache.org> on 2008/08/11 15:41:44 UTC

[jira] Resolved: (ABDERA-195) OpenSearchDescription setters don't handle null args gracefully

     [ https://issues.apache.org/jira/browse/ABDERA-195?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

David Calavera resolved ABDERA-195.
-----------------------------------

    Resolution: Fixed
      Assignee: David Calavera

> OpenSearchDescription setters don't handle null args gracefully
> ---------------------------------------------------------------
>
>                 Key: ABDERA-195
>                 URL: https://issues.apache.org/jira/browse/ABDERA-195
>             Project: Abdera
>          Issue Type: Bug
>    Affects Versions: 0.5.0
>            Reporter: Christopher Elkins
>            Assignee: David Calavera
>            Priority: Minor
>         Attachments: OpenSearchDescription.java.patch
>
>
> The setter methods in OpenSearchDescription that handle varargs (e.g., setTags(String...)) throw NPE when passed a null argument. Because they already handle empty array arguments in a special way, it would be reasonable for them to handle nulls gracefully rather than requiring callers to check for nulls.

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