[PATCH] don't use the reflective form of {Collection}.toArray
-------------------------------------------------------------

                 Key: JCR-1479
                 URL: https://issues.apache.org/jira/browse/JCR-1479
             Project: Jackrabbit
          Issue Type: Improvement
          Components: jackrabbit-core
    Affects Versions: core 1.4.1
            Reporter: Dave Brosius
            Priority: Trivial
             Fix For: core 1.4.2
         Attachments: no_reflective_toarray.patch

Passing a prototype array into {Collection}.toArray that is too small makes the 
toArray call expend alot of effort using reflection to do it's job. It is more 
performant to just pass in a correctly sized prototype. This patch does this.

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

Reply via email to