<commit_before>package com.demo.controller.bean;

/**
 * @auth snifferhu
 * @date 2016/12/18 14:16
 */
public class User {
    private Long id;
    private String name;
    private Integer age;

    public User(){}

    public User(Long id, String name, Integer age) {
        this.id = id;
        this.name = name;
        this.age = age;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;<commit_msg>docs(demo): 1.添加user实体注释<commit_after>package com.demo.controller.bean;

/**
 * @auth snifferhu
 * @date 2016/12/18 14:16
 */
public class User {
    private Long id;
    private String name;
    private Integer age;

    /**
     * 在controller中,利用ModelAttribute作为接收参数注解的情况下
     * 没有默认构造方法,页面报错
     * No default constructor found; nested exception is java.lang.NoSuchMethodException
     */
    public User(){}

    public User(Long id, String name, Integer age) {
        this.id = id;
        this.name = name;
        this.age = age;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
{'fraction_non_alphanumeric': 0.11001788908765653, 'fraction_numerical': 0.022361359570661897, 'mean_word_length': 2.178977272727273, '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': '3947763', 'n_tokens_mistral': 400, 'n_tokens_neox': 381, 'n_words': 100}