(no commit message)
[utils] / crawler / basic / src / org / wamblee / crawler / impl / ActionImpl.java
index c36637353b6ef2a1588c67e85b629ef3035db9f2..0ff4252d98804712981f46f842748e0bc024215b 100644 (file)
@@ -113,4 +113,17 @@ public class ActionImpl implements Action {
     public Element getContent() {
         return _content;
     }
+    
+    /* (non-Javadoc)
+     * @see java.lang.Object#equals(java.lang.Object)
+     */
+    @Override
+    public boolean equals(Object obj) {
+        if ( !(obj instanceof ActionImpl )) { 
+            return false; 
+        }
+        ActionImpl action = (ActionImpl)obj; 
+        return _reference.equals(action._reference) && 
+               _type.equals(action._type);
+    }
 }