diff options
| author | Bananeweizen <Bananeweizen@gmx.de> | 2012-12-29 19:16:31 +0100 |
|---|---|---|
| committer | Bananeweizen <Bananeweizen@gmx.de> | 2012-12-30 09:50:35 +0100 |
| commit | cb94f1f020596be019cc4c000a93a318600d7f37 (patch) | |
| tree | 42708485b581bc243dcc9a89f49680e9296a3599 /tests/src/cgeo/geocaching/connector | |
| parent | 8ab924a6c016c0129cccaffa546a896892f36dcc (diff) | |
| download | cgeo-cb94f1f020596be019cc4c000a93a318600d7f37.zip cgeo-cb94f1f020596be019cc4c000a93a318600d7f37.tar.gz cgeo-cb94f1f020596be019cc4c000a93a318600d7f37.tar.bz2 | |
refactoring: findbugs
Diffstat (limited to 'tests/src/cgeo/geocaching/connector')
| -rw-r--r-- | tests/src/cgeo/geocaching/connector/gc/GCParserTest.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/src/cgeo/geocaching/connector/gc/GCParserTest.java b/tests/src/cgeo/geocaching/connector/gc/GCParserTest.java index dd71302..0f1f4cf 100644 --- a/tests/src/cgeo/geocaching/connector/gc/GCParserTest.java +++ b/tests/src/cgeo/geocaching/connector/gc/GCParserTest.java @@ -72,7 +72,7 @@ public class GCParserTest extends AbstractResourceInstrumentationTestCase { } private static cgCache createCache(int index) { - final MockedCache mockedCache = RegExPerformanceTest.MOCKED_CACHES[index]; + final MockedCache mockedCache = RegExPerformanceTest.MOCKED_CACHES.get(index); // to get the same results we have to use the date format used when the mocked data was created String oldCustomDate = Settings.getGcCustomDate(); |
