[esb-issues] [JBoss JIRA] Closed: (JBESB-1227) spring_jpetstore QS uses deprecated getByteArray()
Burr Sutter (JIRA)
jira-events at lists.jboss.org
Fri Oct 26 15:02:03 EDT 2007
[ http://jira.jboss.com/jira/browse/JBESB-1227?page=all ]
Burr Sutter closed JBESB-1227.
------------------------------
Resolution: Done
Completed: At revision: 16101
> spring_jpetstore QS uses deprecated getByteArray()
> --------------------------------------------------
>
> Key: JBESB-1227
> URL: http://jira.jboss.com/jira/browse/JBESB-1227
> Project: JBoss ESB
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: Examples
> Affects Versions: 4.2.1 IR2
> Reporter: Tom Cunningham
> Assigned To: Mark Little
> Fix For: 4.2.1 triage
>
>
> spring_jpetstore QS uses deprecated getByteArray()
> compile:
> [mkdir] Created dir: /Users/tcunning/src/esb/trunk/product/samples/quickstarts/spring_jpetstore/build/classes
> [javac] Compiling 2 source files to /Users/tcunning/src/esb/trunk/product/samples/quickstarts/spring_jpetstore/build/classes
> [javac] /Users/tcunning/src/esb/trunk/product/samples/quickstarts/spring_jpetstore/src/org/jboss/soa/esb/samples/quickstart/spring_jpetstore/InsertOrderAction.java:57: warning: [deprecation] getByteArray() in org.jboss.soa.esb.message.Body has been deprecated
> [javac] Order order = (Order) xstream.fromXML(new String(msgBody.getByteArray()));
> [javac] ^
> [javac] Note: /Users/tcunning/src/esb/trunk/product/samples/quickstarts/spring_jpetstore/src/org/jboss/soa/esb/samples/quickstart/spring_jpetstore/InsertOrderAction.java uses unchecked or unsafe operations.
> [javac] Note: Recompile with -Xlint:unchecked for details.
> [javac] 1 warning
--
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