[esb-issues] [JBoss JIRA] Created: (JBESB-1227) spring_jpetstore QS uses deprecated getByteArray()
Tom Cunningham (JIRA)
jira-events at lists.jboss.org
Sun Oct 21 10:55:03 EDT 2007
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
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