[esb-issues] [JBoss JIRA] Closed: (JBESB-1357) Deprecated hint in javadoc for org.jboss.soa.esb.message.Body.getByteArray doesn't work
Mark Little (JIRA)
jira-events at lists.jboss.org
Thu Nov 22 06:55:18 EST 2007
[ http://jira.jboss.com/jira/browse/JBESB-1357?page=all ]
Mark Little closed JBESB-1357.
------------------------------
Resolution: Done
I've changed the javadoc slightly to say "can use", because there are multiple ways of doing this.
Plus, BytesBody.BYTES_LOCATION was wrongly deprecated. It has been undeprecated for a couple of weeks now, though that may have only recently come into the platform branch.
> Deprecated hint in javadoc for org.jboss.soa.esb.message.Body.getByteArray doesn't work
> ---------------------------------------------------------------------------------------
>
> Key: JBESB-1357
> URL: http://jira.jboss.com/jira/browse/JBESB-1357
> Project: JBoss ESB
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: Documentation
> Affects Versions: 4.2.1
> Reporter: jarkko Lietolahti
> Assigned To: Mark Little
> Priority: Minor
> Fix For: 4.2.1 CP1
>
>
> Javadoc for Body.getByteArray says:" Deprecated. As of 4.2 this has been replaced by get(BytesBody.BYTES_LOCATION) "
> But this doesn't work. BytesBody.BYTES_LOCATION is also deprecated without a proper hint where to go next!
> Following the javadoc and calling System.out.println("Body: " + message.getBody().get(BytesBody.BYTES_LOCATION)); in HelloWorld ( from Eclipse ESB create project )
> shows "[STDOUT] Body: null
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the esb-issues
mailing list