activemq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Woonsan Ko (JIRA)" <j...@apache.org>
Subject [jira] Commented: (AMQ-1167) The example does not work under JVM 1.4
Date Mon, 18 Jun 2007 06:50:34 GMT

    [ https://issues.apache.org/activemq/browse/AMQ-1167?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_39437
] 

Woonsan Ko commented on AMQ-1167:
---------------------------------

Yes, for the examples, Utilities class looks neater than spring dependency. Thanks!
Cheers.

> The example does not work under JVM 1.4
> ---------------------------------------
>
>                 Key: AMQ-1167
>                 URL: https://issues.apache.org/activemq/browse/AMQ-1167
>             Project: ActiveMQ
>          Issue Type: Bug
>    Affects Versions: 4.1.0
>         Environment: JVM 1.4.2
>            Reporter: Woonsan Ko
>            Assignee: Adrian Co
>            Priority: Minor
>             Fix For: 4.1.2
>
>         Attachments: example-diff.txt
>
>
> The example under ./example/ directory does not work because its sources uses Arrays.toString()
method, which is available only in JVM 1.5.
> So, I modified 'Arrays.toString()' to 'CollectionUtils.arrayToList()' using Spring 2.0
utility. The CollectionUtils.arrayToList() method returns an adequate list instance for primitive
arrays or object arrays, and toString() method of list is very similar to 'Arrays.toString()'
method.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message