Community
Participate
Working Groups
I can repeatedly activate the same target, and it appears multiple times in the active targets list. Should only be able to activate a target once.
Not a bug. Can you think of any reason to disallow this feature?
The list does not manage the entries properly, as each entry is equal. When I remove an entry, it removes the wrong one. When I move an entry, it moves the wrong one...(try adding a bunch of the same, with a couple that are not the same - you'll see what I mean).
See previous comment... if you're going to allow it, you'll have to manage them properly.
Need to handle this case. You can specify the same target multiple times from the cmd line.
Fixed. The problem was that I was using List.indexOf(Object) calls to access the targets to manipulate. Naturally, this resulted in the first item in the list being returned. I've changed the implementation to be index-based in the tree so that the correct tree elements are moved/removed. Please verify.
Verified.