private static @NonNull
    String getCountry(final String location) {
        final String separator = ", ";

        final int indexOfSeparator = location.lastIndexOf(separator);

        if (indexOfSeparator == -1) {
            return location;
        } else {
            // extract the country as the last comma separated part in the location
            return location.substring(indexOfSeparator + separator.length());
        }
    }
Sets individual cache icons given by HashMap<Geocode, newCacheIcon>.
Missing entries are reset to default value (0).
main/src/main/java/cgeo/geocaching/storage/DataStore.java