diff options
| author | Samuel Tardieu <sam@rfc1149.net> | 2012-04-28 11:52:02 +0200 |
|---|---|---|
| committer | Samuel Tardieu <sam@rfc1149.net> | 2012-04-28 11:52:36 +0200 |
| commit | 6050f7ce2d80ecdfc0d890e86ebacbe474bbbc1c (patch) | |
| tree | 85c80fe7ce069335035fb6f5b3f327c81e490e04 /main/src/cgeo/geocaching/gcvote | |
| parent | 710c3128af94d4b5c2f0ef755810fab5b3c3bcd5 (diff) | |
| download | cgeo-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.java | 2 |
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); |
