ant-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From maart...@apache.org
Subject svn commit: r829264 - /ant/ivy/core/trunk/src/java/org/apache/ivy/core/resolve/IvyNodeEviction.java
Date Fri, 23 Oct 2009 22:22:04 GMT
Author: maartenc
Date: Fri Oct 23 22:22:04 2009
New Revision: 829264

URL: http://svn.apache.org/viewvc?rev=829264&view=rev
Log:
FIX: IvyNodeEviction.cleanEvicted has bad comparison logic (IVY-1118)

Modified:
    ant/ivy/core/trunk/src/java/org/apache/ivy/core/resolve/IvyNodeEviction.java

Modified: ant/ivy/core/trunk/src/java/org/apache/ivy/core/resolve/IvyNodeEviction.java
URL: http://svn.apache.org/viewvc/ant/ivy/core/trunk/src/java/org/apache/ivy/core/resolve/IvyNodeEviction.java?rev=829264&r1=829263&r2=829264&view=diff
==============================================================================
--- ant/ivy/core/trunk/src/java/org/apache/ivy/core/resolve/IvyNodeEviction.java (original)
+++ ant/ivy/core/trunk/src/java/org/apache/ivy/core/resolve/IvyNodeEviction.java Fri Oct 23
22:22:04 2009
@@ -307,7 +307,7 @@
             if (sel != null) {
                 for (Iterator iterator = sel.iterator(); iterator.hasNext();) {
                     IvyNode n = (IvyNode) iterator.next();
-                    if (n.getRealNode().equals(this)) {
+                    if (n.getRealNode().equals(node)) {
                         // yes, we are the real node for a selected one !
                         // we are no more evicted in this conf !
                         iter.remove();



Mime
View raw message