[esb-issues] [JBoss JIRA] Created: (JBESB-1256) static_router QS deprecated getByteArray()

Burr Sutter (JIRA) jira-events at lists.jboss.org
Fri Oct 26 15:06:12 EDT 2007


static_router QS deprecated getByteArray()
------------------------------------------

                 Key: JBESB-1256
                 URL: http://jira.jboss.com/jira/browse/JBESB-1256
             Project: JBoss ESB
          Issue Type: Bug
      Security Level: Public (Everyone can see)
          Components: Examples
    Affects Versions: 4.2.1 IR2
            Reporter: Burr Sutter
         Assigned To: Mark Little
             Fix For: 4.2.1 triage


    [javac] C:\labs\RHDS\ESBTrunk_4.2d\product\samples\quickstarts\static_router
\src\org\jboss\soa\esb\samples\quickstart\staticrouter\SimpleFileAction.java:36:
 warning: [deprecation] getByteArray() in org.jboss.soa.esb.message.Body has bee
n deprecated
    [javac]             String sMsg = new String(message.getBody().getByteArray(
));
    [javac]                                                         ^
    [javac] C:\labs\RHDS\ESBTrunk_4.2d\product\samples\quickstarts\static_router
\src\org\jboss\soa\esb\samples\quickstart\staticrouter\SimpleFileAction.java:38:
 warning: [deprecation] setByteArray(byte[]) in org.jboss.soa.esb.message.Body h
as been deprecated
    [javac]             message.getBody().setByteArray(sMsg.getBytes());
    [javac]                                ^
    [javac] 38 warnings

-- 
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