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/ui/DirectionImage.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/ui/DirectionImage.java')
| -rw-r--r-- | main/src/cgeo/geocaching/ui/DirectionImage.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/main/src/cgeo/geocaching/ui/DirectionImage.java b/main/src/cgeo/geocaching/ui/DirectionImage.java index 92ed64d..b246718 100644 --- a/main/src/cgeo/geocaching/ui/DirectionImage.java +++ b/main/src/cgeo/geocaching/ui/DirectionImage.java @@ -17,7 +17,7 @@ public class DirectionImage { } final HttpResponse httpResponse = - Network.request("http://www.geocaching.com/ImgGen/seek/CacheDir.ashx", new Parameters("k", code)); + Network.getRequest("http://www.geocaching.com/ImgGen/seek/CacheDir.ashx", new Parameters("k", code)); if (httpResponse != null) { LocalStorage.saveEntityToFile(httpResponse, getDirectionFile(geocode, true)); } |
