diff options
author | Michael Keppler <bananeweizen@gmx.de> | 2013-12-25 20:32:07 +0100 |
---|---|---|
committer | Michael Keppler <bananeweizen@gmx.de> | 2013-12-25 20:32:07 +0100 |
commit | 8767705910606ef4a82a0dbd62be3a09ba5615ac (patch) | |
tree | 65d80f5dd4384c9751aa550df2ee0afc3536072c /tests/src/cgeo/geocaching/connector/gc/GCConnectorTest.java | |
parent | 8ad11e0e6631001e1566e39a825df09476b8108c (diff) | |
download | cgeo-8767705910606ef4a82a0dbd62be3a09ba5615ac.zip cgeo-8767705910606ef4a82a0dbd62be3a09ba5615ac.tar.gz cgeo-8767705910606ef4a82a0dbd62be3a09ba5615ac.tar.bz2 |
fix findbugs issue
* refactor map tokens to be a concrete type, as we already had a bad
null check in there
Diffstat (limited to 'tests/src/cgeo/geocaching/connector/gc/GCConnectorTest.java')
-rw-r--r-- | tests/src/cgeo/geocaching/connector/gc/GCConnectorTest.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/src/cgeo/geocaching/connector/gc/GCConnectorTest.java b/tests/src/cgeo/geocaching/connector/gc/GCConnectorTest.java index e86678d..0caa7d4 100644 --- a/tests/src/cgeo/geocaching/connector/gc/GCConnectorTest.java +++ b/tests/src/cgeo/geocaching/connector/gc/GCConnectorTest.java @@ -22,7 +22,7 @@ public class GCConnectorTest extends AbstractResourceInstrumentationTestCase { Settings.setCacheType(CacheType.ALL); GCLogin.getInstance().login(); - final String[] tokens = GCLogin.getMapTokens(); + final MapTokens tokens = GCLogin.getMapTokens(); { final Viewport viewport = new Viewport(new Geopoint("N 52° 25.369 E 9° 35.499"), new Geopoint("N 52° 25.600 E 9° 36.200")); |