From c8f4ef5d5a7922e267764ff2cb96bbf69bd6208c Mon Sep 17 00:00:00 2001 From: Samuel Tardieu Date: Tue, 13 May 2014 22:34:20 +0200 Subject: Mark method return as NonNull The interface has changed in a recent commit. --- main/src/cgeo/geocaching/connector/gc/GCParser.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'main/src/cgeo/geocaching/connector') diff --git a/main/src/cgeo/geocaching/connector/gc/GCParser.java b/main/src/cgeo/geocaching/connector/gc/GCParser.java index 1049668..2d9ca9d 100644 --- a/main/src/cgeo/geocaching/connector/gc/GCParser.java +++ b/main/src/cgeo/geocaching/connector/gc/GCParser.java @@ -1640,10 +1640,10 @@ public abstract class GCParser { * * @param page * the text of the details page - * @return a list of log entries or null if the logs could not be retrieved + * @return a list of log entries which will be empty if the logs could not be retrieved * */ - @Nullable + @NonNull private static Observable getLogsFromDetails(final String page) { // extract embedded JSON data from page return parseLogs(false, TextUtils.getMatch(page, GCConstants.PATTERN_LOGBOOK, "")); -- cgit v1.1