aboutsummaryrefslogtreecommitdiffstats
path: root/main/src/cgeo/geocaching/gcvote/GCVote.java
diff options
context:
space:
mode:
Diffstat (limited to 'main/src/cgeo/geocaching/gcvote/GCVote.java')
-rw-r--r--main/src/cgeo/geocaching/gcvote/GCVote.java3
1 files changed, 1 insertions, 2 deletions
diff --git a/main/src/cgeo/geocaching/gcvote/GCVote.java b/main/src/cgeo/geocaching/gcvote/GCVote.java
index 5a00009..3d87724 100644
--- a/main/src/cgeo/geocaching/gcvote/GCVote.java
+++ b/main/src/cgeo/geocaching/gcvote/GCVote.java
@@ -98,10 +98,9 @@ public final class GCVote {
return null;
}
- String voteData;
final Matcher matcherVoteElement = patternVoteElement.matcher(page);
while (matcherVoteElement.find()) {
- voteData = matcherVoteElement.group(1);
+ String voteData = matcherVoteElement.group(1);
if (voteData == null) {
continue;
}