DistinctRootEntityResultTransformer assumes source ILists are always ArrayLists

Description

DistinctRootEntityResultTransformer assumes source ILists are always ArrayLists, but they can also be generic Lists.

The attached patch returns the result in a instance of the same type as the source, insantiating via the type's default ctor.

Environment

None

Attachments

1

Activity

Show:

Davy Brion April 21, 2009 at 11:46 AM

thanks

committed in r4192

James Lanng April 21, 2009 at 6:44 AM

Patch

Fixed

Details

Assignee

Reporter

Components

Fix versions

Affects versions

Priority

Who's Looking?

Open Who's Looking?
Created April 21, 2009 at 6:43 AM
Updated April 21, 2009 at 11:46 AM
Resolved April 21, 2009 at 11:46 AM
Who's Looking?