diff options
| author | Michael Keppler <michael.keppler@gmx.de> | 2014-04-19 10:03:35 +0200 |
|---|---|---|
| committer | Michael Keppler <michael.keppler@gmx.de> | 2014-04-19 10:03:35 +0200 |
| commit | 6297ba5eece1982ce8b24ad470372c9faee8e957 (patch) | |
| tree | 8697a79b175b49cbc081ce2e46fd0f080b56261c /main/src/cgeo/geocaching/sorting | |
| parent | 856133fddb826e616a994bae0c32169a5f2f781c (diff) | |
| download | cgeo-6297ba5eece1982ce8b24ad470372c9faee8e957.zip cgeo-6297ba5eece1982ce8b24ad470372c9faee8e957.tar.gz cgeo-6297ba5eece1982ce8b24ad470372c9faee8e957.tar.bz2 | |
fix remaining warnings or document them
Diffstat (limited to 'main/src/cgeo/geocaching/sorting')
| -rw-r--r-- | main/src/cgeo/geocaching/sorting/AbstractCacheComparator.java | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/main/src/cgeo/geocaching/sorting/AbstractCacheComparator.java b/main/src/cgeo/geocaching/sorting/AbstractCacheComparator.java index 2b171b4..968dce5 100644 --- a/main/src/cgeo/geocaching/sorting/AbstractCacheComparator.java +++ b/main/src/cgeo/geocaching/sorting/AbstractCacheComparator.java @@ -34,12 +34,13 @@ public abstract class AbstractCacheComparator implements CacheComparator { /** * Check necessary preconditions (like missing fields) before running the comparison itself. * Caches not filling the conditions will be placed last, sorted by Geocode. - * + * * The default returns <code>true</code> and can be overridden if needed in child classes. - * + * * @param cache * @return <code>true</code> if the cache holds the necessary data to be compared meaningfully */ + @SuppressWarnings("static-method") protected boolean canCompare(final Geocache cache) { return true; } |
