From 00e4f99229d03d7db5ffd753e9e704e19abea3fa Mon Sep 17 00:00:00 2001
From: Bananeweizen
- * ft = m * M2FT;
- */
- public static final double M2FT = 3.2808399d;
-
-}
diff --git a/main/src/cgeo/geocaching/GCConstants.java b/main/src/cgeo/geocaching/GCConstants.java
deleted file mode 100644
index d884380..0000000
--- a/main/src/cgeo/geocaching/GCConstants.java
+++ /dev/null
@@ -1,152 +0,0 @@
-package cgeo.geocaching;
-
-import java.util.regex.Pattern;
-
-/**
- * These patterns have been optimized for speed. Improve them only if you can prove
- * that *YOUR* pattern is faster. Use RegExRealPerformanceTest to show.
- *
- * For further information about patterns have a look at
- * http://download.oracle.com/javase/1.4.2/docs/api/java/util/regex/Pattern.html
- *
- * @author blafoo
- */
-public final class GCConstants {
-
- /** Live Map */
- public final static String URL_LIVE_MAP = "http://www.geocaching.com/map/default.aspx";
- /** Caches in a tile */
- public final static String URL_MAP_INFO = "http://www.geocaching.com/map/map.info";
- /** Tile itself */
- public final static String URL_MAP_TILE = "http://www.geocaching.com/map/map.tile";
-
- /**
- * Patterns for parsing the result of a (detailed) search
- */
- public final static Pattern PATTERN_HINT = Pattern.compile(" [^<]* [^<]*\\W*Additional Hints");
- public final static Pattern PATTERN_SHORTDESC = Pattern.compile("(.*?)[^\\w^<]*");
- public final static Pattern PATTERN_GEOCODE = Pattern.compile("[^<]* ]*>[^S]*Size[^:]*:[^<]*]*>[^<]*]*>[^<]*[^<]*[^<]*[^<]* ]*>(.*?)
This is a Premium Member Only cache.
"); - public final static Pattern PATTERN_ATTRIBUTES = Pattern.compile("\\s+((?:]+>]+>[^<]+
(?:[^<]+
)?)+)\\s+