git://wamblee.org
/
utils
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Renamed XSLT to XslTransformer.
[utils]
/
crawler
/
basic
/
src
/
org
/
wamblee
/
crawler
/
PageType.java
diff --git
a/crawler/basic/src/org/wamblee/crawler/PageType.java
b/crawler/basic/src/org/wamblee/crawler/PageType.java
index c23aa08784adb3831149d0ad278f2fd819ad3853..8320c0bea732142a40c0df81e3cbec549e27f2a9 100644
(file)
--- a/
crawler/basic/src/org/wamblee/crawler/PageType.java
+++ b/
crawler/basic/src/org/wamblee/crawler/PageType.java
@@
-50,4
+50,15
@@
public class PageType {
public String toString() {
return "PageType(type='" + _type + "')";
}
public String toString() {
return "PageType(type='" + _type + "')";
}
+
+ /* (non-Javadoc)
+ * @see java.lang.Object#equals(java.lang.Object)
+ */
+ @Override
+ public boolean equals(Object obj) {
+ if (!(obj instanceof PageType)) {
+ return false;
+ }
+ return toString().equals(obj.toString());
+ }
}
}