[esb-issues] [JBoss JIRA] Assigned: (JBESB-1227) spring_jpetstore QS uses deprecated getByteArray()

Mark Little (JIRA) jira-events at lists.jboss.org
Tue Oct 30 04:06:02 EDT 2007


     [ http://jira.jboss.com/jira/browse/JBESB-1227?page=all ]

Mark Little reassigned JBESB-1227:
----------------------------------

    Assignee: Burr Sutter  (was: Mark Little)

> 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: Burr Sutter
>             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