<commit_before>package seed.domain;

/**
 * Created by Macsnow on 2017/3/1.
 */
public class Comment {

}
<commit_msg>Complete Comment.java<commit_after>package seed.domain;

import org.bson.types.ObjectId;
import org.springframework.data.mongodb.core.index.Indexed;
import org.springframework.data.mongodb.core.mapping.Document;

/**
 * Created by Froggy
 * 2017-03-02.
 */

@Document
public class Comment {
    @Indexed
    private ObjectId userId;

    private String content;

    public Comment(ObjectId userId, String content){
        this.userId = userId;
        this.content = content;
    }

    public void setUserId(ObjectId userId){
        this.userId=userId;
    }

    public ObjectId getUserId(ObjectId userId){
        return userId;
    }

    public void setContent(String content){
        this.content=content;
    }

    public String getContent(String content){
        return content;
    }

    protected Comment(){}
}

{'fraction_non_alphanumeric': 0.09547738693467336, 'fraction_numerical': 0.01407035175879397, 'mean_word_length': 2.4583333333333335, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3938691', 'n_tokens_mistral': 308, 'n_tokens_neox': 290, 'n_words': 67}