<commit_before>package website.automate.waml.io.model;

import java.util.Map;
import java.util.Objects;

public class CriterionValue {

    private Object value;
    
    public static CriterionValue of(Object value){
        return new CriterionValue(value);
    }
    
    public CriterionValue(int value){
        this.value = value;
    }
    
    public CriterionValue(String value){
        this.value = value;
    }
    <commit_msg>criterion value of method should not wrap null with criterionvalue object<commit_after>package website.automate.waml.io.model;

import java.util.Map;
import java.util.Objects;

public class CriterionValue {

    private Object value;
    
    public static CriterionValue of(Object value){
        if(value == null){
            return null;
        }
        return new CriterionValue(value);
    }
    
    public CriterionValue(int value){
        this.value = value;
    }
    
    public CriterionValue(String value){
        this.value = value;
    }
    
{'fraction_non_alphanumeric': 0.081, 'fraction_numerical': 0.0, 'mean_word_length': 2.512280701754386, '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': '15405', 'n_tokens_mistral': 287, 'n_tokens_neox': 282, 'n_words': 74}