Author: j16sdiz
Date: 2008-12-30 07:26:32 +0000 (Tue, 30 Dec 2008)
New Revision: 24845
Removed:
trunk/plugins/XMLSpider/db/PageTimeStampComparator.java
Log:
unused class
Deleted: trunk/plugins/XMLSpider/db/PageTimeStampComparator.java
===================================================================
--- trunk/plugins/XMLSpider/db/PageTimeStampComparator.java 2008-12-30
07:26:18 UTC (rev 24844)
+++ trunk/plugins/XMLSpider/db/PageTimeStampComparator.java 2008-12-30
07:26:32 UTC (rev 24845)
@@ -1,25 +0,0 @@
-/**
- *
- */
-package plugins.XMLSpider.db;
-
-import plugins.XMLSpider.org.garret.perst.PersistentComparator;
-
-final class PageTimeStampComparator extends PersistentComparator<Page> {
- @Override
- public int compareMemberWithKey(Page p1, Object key) {
- if (key instanceof Page)
- return compareMembers(p1, (Page) key);
- else
- return 0;
- }
-
- @Override
- public int compareMembers(Page p1, Page p2) {
- if (p1.lastChange < p2.lastChange)
- return -1;
- if (p1.lastChange > p2.lastChange)
- return 1;
- return 0;
- }
-}
\ No newline at end of file
_______________________________________________
cvs mailing list
[email protected]
http://emu.freenetproject.org/cgi-bin/mailman/listinfo/cvs