aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSammysHP <sven@sammyshp.de>2011-07-28 14:01:35 +0200
committerSammysHP <sven@sammyshp.de>2011-07-28 14:01:35 +0200
commit60323ad5f07cac95ad454d1a2fdad7a340a8d7ab (patch)
treeed44d7722bc355ce689ceac605570dec79073c2c
parentdafc07bded672576b5ba03f206263104aac2e926 (diff)
downloadcgeo-60323ad5f07cac95ad454d1a2fdad7a340a8d7ab.zip
cgeo-60323ad5f07cac95ad454d1a2fdad7a340a8d7ab.tar.gz
cgeo-60323ad5f07cac95ad454d1a2fdad7a340a8d7ab.tar.bz2
Fix NumberFormatException in finds-number-parsing
-rw-r--r--src/cgeo/geocaching/cgBase.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cgeo/geocaching/cgBase.java b/src/cgeo/geocaching/cgBase.java
index 2a96036..4ffe5af 100644
--- a/src/cgeo/geocaching/cgBase.java
+++ b/src/cgeo/geocaching/cgBase.java
@@ -2551,7 +2551,7 @@ public class cgBase {
String count = findMatcher.group(1);
if (count != null) {
- count = count.trim();
+ count = count.trim().replaceAll(",", "");
if (count.length() == 0) {
findCount = 0;