abdera-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "David Calavera (JIRA)" <j...@apache.org>
Subject [jira] Resolved: (ABDERA-195) OpenSearchDescription setters don't handle null args gracefully
Date Mon, 11 Aug 2008 13:41:44 GMT

     [ 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.


Mime
View raw message