abdera-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jmsn...@apache.org
Subject svn commit: r589183 - /incubator/abdera/java/trunk/core/src/main/java/org/apache/abdera/model/ElementWrapper.java
Date Sat, 27 Oct 2007 19:06:11 GMT
Author: jmsnell
Date: Sat Oct 27 12:06:08 2007
New Revision: 589183

URL: http://svn.apache.org/viewvc?rev=589183&view=rev
Log:
ElementWrapper.equals was not properly handling ElementWrapper instances

Modified:
    incubator/abdera/java/trunk/core/src/main/java/org/apache/abdera/model/ElementWrapper.java

Modified: incubator/abdera/java/trunk/core/src/main/java/org/apache/abdera/model/ElementWrapper.java
URL: http://svn.apache.org/viewvc/incubator/abdera/java/trunk/core/src/main/java/org/apache/abdera/model/ElementWrapper.java?rev=589183&r1=589182&r2=589183&view=diff
==============================================================================
--- incubator/abdera/java/trunk/core/src/main/java/org/apache/abdera/model/ElementWrapper.java
(original)
+++ incubator/abdera/java/trunk/core/src/main/java/org/apache/abdera/model/ElementWrapper.java
Sat Oct 27 12:06:08 2007
@@ -209,6 +209,8 @@
   }
   
   public boolean equals(Object other) {
+    if (other instanceof ElementWrapper)
+      other = ((ElementWrapper)other).getInternal();
     return internal.equals(other);
   }
   



Mime
View raw message