<commit_before>package org.nutz.dao.sql;

import java.util.HashMap;
import java.util.Map;
import java.util.Set;

class SimpleVarSet implements VarSet {

	private HashMap<String, Object> map;

	SimpleVarSet() {
		this.map = new HashMap<String, Object>();
	}

	public VarSet set(String name, Object value) {
		map.put(name, value);
		return this;
	}

	public Object get(String name) {
		return map.get(name);
	}

	public Set<String> keys() {
		return map.keySet();
	}

	public VarSet putAll(Map<String, Object> map) {
		this.map.putAll(map);
		return this;
	}

}<commit_msg>增加了不为null的控制<commit_after>package org.nutz.dao.sql;

import java.util.HashMap;
import java.util.Map;
import java.util.Set;

class SimpleVarSet implements VarSet {

	private HashMap<String, Object>	map;

	SimpleVarSet() {
		this.map = new HashMap<String, Object>();
	}

	public VarSet set(String name, Object value) {
		map.put(name, value);
		return this;
	}

	public Object get(String name) {
		return map.get(name);
	}

	public Set<String> keys() {
		return map.keySet();
	}

	public VarSet putAll(Map<String, Object> map) {
		if (map != null) {
			this.map.putAll(map);
		}
		return this;
	}

}
{'fraction_non_alphanumeric': 0.13515825491873396, 'fraction_numerical': 0.0, 'mean_word_length': 4.0, 'pattern_counts': {'":': 0, '<': 11, '<?xml version=': 0, '>': 11, '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': '3854749', 'n_tokens_mistral': 453, 'n_tokens_neox': 428, 'n_words': 103}