You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@wink.apache.org by "Mike Rheinheimer (JIRA)" <ji...@apache.org> on 2009/09/28 18:49:15 UTC

[jira] Commented: (WINK-198) JAX-RS 1.1 support: E009

    [ https://issues.apache.org/jira/browse/WINK-198?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12760291#action_12760291 ] 

Mike Rheinheimer commented on WINK-198:
---------------------------------------

Looks like E009 is just a statement about javadoc, not function.  Not sure why it was on my list to add a unit test for it.  Regardless, here is some added function and a test to demo it.  This would aid the developer who accidentally returns the wrong Object type from their "fromString" or "valueOf" method.

Presumably, an app developer would get bad results out of their app (a ClassCastException, perhaps) that would be clear enough to show where the problem is, so I don't care much if this patch is accepted or not.  You won't hurt my feelings.  :)

See patch.

> JAX-RS 1.1 support:  E009
> -------------------------
>
>                 Key: WINK-198
>                 URL: https://issues.apache.org/jira/browse/WINK-198
>             Project: Wink
>          Issue Type: Test
>            Reporter: Mike Rheinheimer
>         Attachments: WINK-198.patch
>
>
> Need test for E009 at http://jcp.org/aboutJava/communityprocess/maintenance/jsr311/311ChangeLog.html

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