aboutsummaryrefslogtreecommitdiffstats
path: root/main/src/cgeo/geocaching/gcvote
diff options
context:
space:
mode:
authorSamuel Tardieu <sam@rfc1149.net>2012-04-28 11:52:02 +0200
committerSamuel Tardieu <sam@rfc1149.net>2012-04-28 11:52:36 +0200
commit6050f7ce2d80ecdfc0d890e86ebacbe474bbbc1c (patch)
tree85c80fe7ce069335035fb6f5b3f327c81e490e04 /main/src/cgeo/geocaching/gcvote
parent710c3128af94d4b5c2f0ef755810fab5b3c3bcd5 (diff)
downloadcgeo-6050f7ce2d80ecdfc0d890e86ebacbe474bbbc1c.zip
cgeo-6050f7ce2d80ecdfc0d890e86ebacbe474bbbc1c.tar.gz
cgeo-6050f7ce2d80ecdfc0d890e86ebacbe474bbbc1c.tar.bz2
Refactoring: remove redundant initializers
The initial values were never used as the variables are set in any case before being used.
Diffstat (limited to 'main/src/cgeo/geocaching/gcvote')
-rw-r--r--main/src/cgeo/geocaching/gcvote/GCVote.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/main/src/cgeo/geocaching/gcvote/GCVote.java b/main/src/cgeo/geocaching/gcvote/GCVote.java
index c8976b8..5a00009 100644
--- a/main/src/cgeo/geocaching/gcvote/GCVote.java
+++ b/main/src/cgeo/geocaching/gcvote/GCVote.java
@@ -98,7 +98,7 @@ public final class GCVote {
return null;
}
- String voteData = null;
+ String voteData;
final Matcher matcherVoteElement = patternVoteElement.matcher(page);
while (matcherVoteElement.find()) {
voteData = matcherVoteElement.group(1);