<commit_before>package edu.iastate.cs.design.spec.stackexchange.objects;

import java.util.ArrayList;

public class Post {
    public static final String QUESTION_POST_TYPE = "question";

    public static final String ANSWER_POST_TYPE = "answer";

    private String body;

    private String bodyMarkdown;

    private ArrayList<String> comments;

    // Number of seconds since 1/1/1970
    private long creationDate;

    private int downVoteCount;

    private boolean downvoted;

    // Number of seconds since 1/1/1970
    private long lastActivityDate;

    // Number of seconds since 1/1/1970
    private long lastEditDate;

    private ShallowUser lastEditor;

    private String link;

    private ShallowUser owner;

    private int postId;

    // Either "question" or "answer"
    private String postType;

    private int score;

    private String shareLink;

    private String title;

    private int upVoteCount;

    private boolean upvoted;

    public String getBody() {
        return body;
    }

    public String getBodyMarkdown() {
        return bodyMarkdown;
    }

    public ArrayList<String> getComments() {
        return comments;
    }

    public long getCreationDate() {
        return creationDate;
    }

    public int getDownVoteCount() {
        return downVoteCount;
    }

    public boolean isDownvoted() {
        return downvoted;
    }

    public long getLastActivityDate() {
        return lastActivityDate;
    }

    public long getLastEditDate() {<commit_msg>Use generic List<T> instead of ArrayList<T><commit_after>package edu.iastate.cs.design.spec.stackexchange.objects;

import java.util.List;

public class Post {
    public static final String QUESTION_POST_TYPE = "question";

    public static final String ANSWER_POST_TYPE = "answer";

    private String body;

    private String bodyMarkdown;

    private List<String> comments;

    // Number of seconds since 1/1/1970
    private long creationDate;

    private int downVoteCount;

    private boolean downvoted;

    // Number of seconds since 1/1/1970
    private long lastActivityDate;

    // Number of seconds since 1/1/1970
    private long lastEditDate;

    private ShallowUser lastEditor;

    private String link;

    private ShallowUser owner;

    private int postId;

    // Either "question" or "answer"
    private String postType;

    private int score;

    private String shareLink;

    private String title;

    private int upVoteCount;

    private boolean upvoted;

    public String getBody() {
        return body;
    }

    public String getBodyMarkdown() {
        return bodyMarkdown;
    }

    public List<String> getComments() {
        return comments;
    }

    public long getCreationDate() {
        return creationDate;
    }

    public int getDownVoteCount() {
        return downVoteCount;
    }

    public boolean isDownvoted() {
        return downvoted;
    }

    public long getLastActivityDate() {
        return lastActivityDate;
    }

    public long getLastEditDate() {
{'fraction_non_alphanumeric': 0.06712734452122408, 'fraction_numerical': 0.011846001974333662, 'mean_word_length': 2.645083932853717, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 9, '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': '4629980', 'n_tokens_mistral': 905, 'n_tokens_neox': 822, 'n_words': 265}