public void setAttributes(final List<String> attributes) {
        this.attributes.clear();
        if (attributes != null) {
            this.attributes.addAll(attributes);
        }
    }
@return only the logs of friends
main/src/main/java/cgeo/geocaching/models/Geocache.java