You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@shindig.apache.org by "Henning Schmiedehausen (JIRA)" <ji...@apache.org> on 2009/01/15 22:55:59 UTC
[jira] Created: (SHINDIG-868) Add a more resilient ResponseError
parse() method
Add a more resilient ResponseError parse() method
-------------------------------------------------
Key: SHINDIG-868
URL: https://issues.apache.org/jira/browse/SHINDIG-868
Project: Shindig
Issue Type: Improvement
Components: RESTful API (Java)
Affects Versions: trunk, 1.0.x-incubating
Reporter: Henning Schmiedehausen
Attachments: responseerror.patch
getting a ResponseError object from a astring usually is using ResponseError.valueOf(string) which relies on getting blanks and capitalization right. This patch adds a static 'parse' method to the ResponseError class which is similar to the proposed Enum.parse() methods in the StaxParser and the existing one in AuthType and is more forgiving.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (SHINDIG-868) Add a more resilient ResponseError
parse() method
Posted by "Henning Schmiedehausen (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/SHINDIG-868?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Henning Schmiedehausen updated SHINDIG-868:
-------------------------------------------
Attachment: responseerror.patch
> Add a more resilient ResponseError parse() method
> -------------------------------------------------
>
> Key: SHINDIG-868
> URL: https://issues.apache.org/jira/browse/SHINDIG-868
> Project: Shindig
> Issue Type: Improvement
> Components: RESTful API (Java)
> Affects Versions: trunk, 1.0.x-incubating
> Reporter: Henning Schmiedehausen
> Attachments: responseerror.patch
>
>
> getting a ResponseError object from a astring usually is using ResponseError.valueOf(string) which relies on getting blanks and capitalization right. This patch adds a static 'parse' method to the ResponseError class which is similar to the proposed Enum.parse() methods in the StaxParser and the existing one in AuthType and is more forgiving.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Resolved: (SHINDIG-868) Add a more resilient ResponseError
parse() method
Posted by "Paul Lindner (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/SHINDIG-868?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Paul Lindner resolved SHINDIG-868.
----------------------------------
Resolution: Fixed
lgtm..
> Add a more resilient ResponseError parse() method
> -------------------------------------------------
>
> Key: SHINDIG-868
> URL: https://issues.apache.org/jira/browse/SHINDIG-868
> Project: Shindig
> Issue Type: Improvement
> Components: RESTful API (Java)
> Affects Versions: trunk, 1.0.x-incubating
> Reporter: Henning Schmiedehausen
> Attachments: responseerror.patch
>
>
> getting a ResponseError object from a astring usually is using ResponseError.valueOf(string) which relies on getting blanks and capitalization right. This patch adds a static 'parse' method to the ResponseError class which is similar to the proposed Enum.parse() methods in the StaxParser and the existing one in AuthType and is more forgiving.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.