[esb-issues] [JBoss JIRA] Closed: (JBESB-1259) helloworld_ftp_action QS: deprecated getByteArray()

Burr Sutter (JIRA) jira-events at lists.jboss.org
Sat Oct 27 15:04:01 EDT 2007


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

Burr Sutter closed JBESB-1259.
------------------------------

    Resolution: Done

Completed: At revision: 16114  


> helloworld_ftp_action QS: deprecated getByteArray()
> ---------------------------------------------------
>
>                 Key: JBESB-1259
>                 URL: http://jira.jboss.com/jira/browse/JBESB-1259
>             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: Burr Sutter
>             Fix For: 4.2.1 triage
>
>
>     [javac] C:\labs\RHDS\ESBTrunk_4.2d\product\samples\quickstarts\helloworld_ft
> p_action\src\org\jboss\soa\esb\samples\quickstart\helloworldftpaction\MyAction.j
> ava:39: warning: [deprecation] getByteArray() in org.jboss.soa.esb.message.Body
> has been deprecated
>     [javac]               System.out.println("Body: " + new String(message.getBo
> dy().getByteArray()));
>     [javac]
>       ^
>     [javac] C:\labs\RHDS\ESBTrunk_4.2d\product\samples\quickstarts\helloworld_ft
> p_action\src\org\jboss\soa\esb\samples\quickstart\helloworldftpaction\MyAction.j
> ava:49: warning: [deprecation] getByteArray() in org.jboss.soa.esb.message.Body
> has been deprecated
>     [javac]        String contents = new String(msgBody.getByteArray());
>     [javac]                                                ^
>     [javac] C:\labs\RHDS\ESBTrunk_4.2d\product\samples\quickstarts\helloworld_ft
> p_action\src\org\jboss\soa\esb\samples\quickstart\helloworldftpaction\MyAction.j
> ava:54: warning: [deprecation] setByteArray(byte[]) in org.jboss.soa.esb.message
> .Body has been deprecated
>     [javac]        msgBody.setByteArray(sb.toString().getBytes());
>     [javac]                   ^
>     [javac] C:\labs\RHDS\ESBTrunk_4.2d\product\samples\quickstarts\helloworld_ft
> p_action\src\org\jboss\soa\esb\samples\quickstart\helloworldftpaction\MyAction.j
> ava:63: warning: [deprecation] getByteArray() in org.jboss.soa.esb.message.Body
> has been deprecated
>     [javac]        System.out.println(message.getBody().getByteArray());
>     [javac]                                              ^
>     [javac] 4 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