From 53645ae292deb7f14ae3da2a19e2e9f11407746d Mon Sep 17 00:00:00 2001 From: Bananeweizen Date: Mon, 1 Aug 2011 23:45:57 +0200 Subject: cleanup * make potentially static methods static * remove unused constants * remove unused imports * move a cache related (otherwise static base) method to the cache class --- src/cgeo/geocaching/sorting/SizeComparator.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/cgeo/geocaching/sorting') diff --git a/src/cgeo/geocaching/sorting/SizeComparator.java b/src/cgeo/geocaching/sorting/SizeComparator.java index f5bd643..dd9d448 100644 --- a/src/cgeo/geocaching/sorting/SizeComparator.java +++ b/src/cgeo/geocaching/sorting/SizeComparator.java @@ -30,7 +30,7 @@ public class SizeComparator extends AbstractCacheComparator { * @param cache * @return */ - private int getSize(final cgCache cache) { + private static int getSize(final cgCache cache) { char c = cache.size.charAt(0); switch (c) { case 'm': // micro -- cgit v1.1