private static void mergeFriendsLogs(final List<LogEntry> mergedLogs, final Iterable<LogEntry> logsToMerge) {
        for (final LogEntry log : logsToMerge) {
            if (mergedLogs.contains(log)) {
                final LogEntry friendLog = mergedLogs.get(mergedLogs.indexOf(log));
                final LogEntry updatedFriendLog = friendLog.buildUpon().setFriend(true).build();
                mergedLogs.set(mergedLogs.indexOf(log), updatedFriendLog);
            } else {
                mergedLogs.add(log);
            }
        }
    }
Merge log entries and mark them as friends logs (personal and friends) to identify
them on friends/personal logs tab.

@param mergedLogs  the list to merge logs with
@param logsToMerge the list of logs to merge
main/src/main/java/cgeo/geocaching/connector/gc/GCParser.java