diff options
author | Samuel Tardieu <sam@rfc1149.net> | 2012-04-17 14:00:24 +0200 |
---|---|---|
committer | Samuel Tardieu <sam@rfc1149.net> | 2012-04-17 14:00:24 +0200 |
commit | 7e64bf85d832430172f88b3a1bbd691d6935f097 (patch) | |
tree | 0a5a5677fec386514fc88f2629817329c609d5fa /main/src/cgeo/geocaching/connector/gc/GCBase.java | |
parent | 3882c655f50b2d6d22050eea9e54176704d15b4c (diff) | |
download | cgeo-7e64bf85d832430172f88b3a1bbd691d6935f097.zip cgeo-7e64bf85d832430172f88b3a1bbd691d6935f097.tar.gz cgeo-7e64bf85d832430172f88b3a1bbd691d6935f097.tar.bz2 |
Refactoring: rename request into getRequest
Those methods only do GET requests.
Diffstat (limited to 'main/src/cgeo/geocaching/connector/gc/GCBase.java')
-rw-r--r-- | main/src/cgeo/geocaching/connector/gc/GCBase.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/main/src/cgeo/geocaching/connector/gc/GCBase.java b/main/src/cgeo/geocaching/connector/gc/GCBase.java index 53b5640..c5ee29d 100644 --- a/main/src/cgeo/geocaching/connector/gc/GCBase.java +++ b/main/src/cgeo/geocaching/connector/gc/GCBase.java @@ -361,7 +361,7 @@ public class GCBase { /** Get user session & session token from the Live Map. Needed for following requests */ public static String[] getTokens() { - final HttpResponse response = Network.request(GCConstants.URL_LIVE_MAP); + final HttpResponse response = Network.getRequest(GCConstants.URL_LIVE_MAP); final String data = Network.getResponseData(response); String userSession = BaseUtils.getMatch(data, GCConstants.PATTERN_USERSESSION, ""); String sessionToken = BaseUtils.getMatch(data, GCConstants.PATTERN_SESSIONTOKEN, ""); |