public FullCommitFile add(final GitComment comment) {
        int line = (int) comment.position();
        if (line >= 0) {
            List<GitComment> lineComments = comments.get(line);
            if (lineComments == null) {
                lineComments = new ArrayList<>(4);
                comments.put(line, lineComments);
            }
            lineComments.add(comment);
        }
        return this;
    }
Add comment to file

@param comment
@return this file
app/src/main/java/com/github/pockethub/android/core/commit/FullCommitFile.java