https://issues.apache.org/bugzilla/show_bug.cgi?id=50297

--- Comment #2 from Isaac Shabtay <[email protected]> 2010-11-19 19:00:32 EST 
---
Well, both Hashtable and LinkedHashMap extend the Map interface so we could
change the variables' declaration to "Map". But you're right... it would still
break those who use these protected members within their code.

(Even though I think that's the way things should really be)

My situation is a bit tricky. Before the "copy" operation, I prepare a union of
resources to copy; the copy operation itself has a flattenmapper attached to
it. It is definitely possible for my union to contain more than one entry with
the same basename (different directories though).

So (for example):

<union>
   <file name="dir1/file.txt"/>
   <file name="dir2/file.txt"/>
</union>

and my intention is that "dir2/file.txt" will end-up in the target directory.
So I use a "copy" task with a flattenmapper...... therefore the order of
iteration is *VERY* important.

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

Reply via email to