fix bug introduced in 6d2e199

This commit is contained in:
Nicolas Lalevée 2014-12-27 15:01:56 +01:00
parent f42805ac09
commit 56c04300e8
1 changed files with 1 additions and 1 deletions

View File

@ -916,7 +916,7 @@ public class IvyNode implements Comparable<IvyNode> {
Collection<Artifact> ret = new ArrayList<Artifact>();
for (Entry<ArtifactId, Artifact> entry : allArtifacts.entrySet()) {
if (MatcherHelper.matches(rule.getMatcher(), rule.getId(), entry.getKey())) {
ret.add(allArtifacts.get(entry.getValue()));
ret.add(entry.getValue());
}
}
return ret;