aboutsummaryrefslogtreecommitdiffstats
path: root/main/src/cgeo/geocaching/sorting/VisitComparator.java
diff options
context:
space:
mode:
Diffstat (limited to 'main/src/cgeo/geocaching/sorting/VisitComparator.java')
-rw-r--r--main/src/cgeo/geocaching/sorting/VisitComparator.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/main/src/cgeo/geocaching/sorting/VisitComparator.java b/main/src/cgeo/geocaching/sorting/VisitComparator.java
index 46d8c58..27d3170 100644
--- a/main/src/cgeo/geocaching/sorting/VisitComparator.java
+++ b/main/src/cgeo/geocaching/sorting/VisitComparator.java
@@ -1,6 +1,6 @@
package cgeo.geocaching.sorting;
-import cgeo.geocaching.cgCache;
+import cgeo.geocaching.Geocache;
/**
* sorts caches by last visited date
@@ -9,12 +9,12 @@ import cgeo.geocaching.cgCache;
public class VisitComparator extends AbstractCacheComparator {
@Override
- protected boolean canCompare(final cgCache cache1, final cgCache cache2) {
+ protected boolean canCompare(final Geocache cache1, final Geocache cache2) {
return true;
}
@Override
- protected int compareCaches(final cgCache cache1, final cgCache cache2) {
+ protected int compareCaches(final Geocache cache1, final Geocache cache2) {
return Long.valueOf(cache2.getVisitedDate()).compareTo(cache1.getVisitedDate());
}
}