aboutsummaryrefslogtreecommitdiffstats
path: root/main/src/cgeo/geocaching/network/Network.java
diff options
context:
space:
mode:
authorSamuel Tardieu <sam@rfc1149.net>2013-09-12 10:31:33 +0200
committerSamuel Tardieu <sam@rfc1149.net>2013-09-12 10:31:33 +0200
commit4be2e8fee71f4b1e28883d4945ffcc37465206f5 (patch)
treeaa30a7e95898bf175b9e3801db83887bed39bc6c /main/src/cgeo/geocaching/network/Network.java
parent615e146283ca1de51c5c4368cb52d937b4a1c8a5 (diff)
downloadcgeo-4be2e8fee71f4b1e28883d4945ffcc37465206f5.zip
cgeo-4be2e8fee71f4b1e28883d4945ffcc37465206f5.tar.gz
cgeo-4be2e8fee71f4b1e28883d4945ffcc37465206f5.tar.bz2
fix: null warnings and errors
Diffstat (limited to 'main/src/cgeo/geocaching/network/Network.java')
-rw-r--r--main/src/cgeo/geocaching/network/Network.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/main/src/cgeo/geocaching/network/Network.java b/main/src/cgeo/geocaching/network/Network.java
index 0103d28..8c44c9c 100644
--- a/main/src/cgeo/geocaching/network/Network.java
+++ b/main/src/cgeo/geocaching/network/Network.java
@@ -441,7 +441,7 @@ public abstract class Network {
* @return the body if the response comes from a successful HTTP request, <code>null</code> otherwise
*/
@Nullable
- public static String getResponseData(final HttpResponse response) {
+ public static String getResponseData(@Nullable final HttpResponse response) {
return Network.getResponseData(response, true);
}