<commit_before>package com.tjeannin.provigen;

import java.util.ArrayList;
import java.util.List;

class DatabaseField {

	private String name;
	private String type;
	private List<Constraint> constraints;

	public DatabaseField(String name, String type) {
		super();
		this.name = name;
		this.type = type;
		this.constraints = new ArrayList<Constraint>();
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getType() {
		return type;
	}

	public void setType(String type) {
		this.type = type;
	}

	public List<Constraint> getConstraints() {
		return constraints;
	}

	public void setConstraints(List<Constraint> constraints) {
		this.constraints = constraints;
	}

	public boolean isUnique() {
		for (Constraint constraint : constraints) {
			if (constraint.isUnique()) {
				return true;
			}
		}
		return false;
	}

	public boolean isNotNull() {
		for (Constraint constraint : constraints) {
			if (constraint.isNotNull()) {
				return true;
			}
		}
		return false;
	}
}
<commit_msg>Removed unused methods.<commit_after>package com.tjeannin.provigen;

import java.util.ArrayList;
import java.util.List;

class DatabaseField {

	private String name;
	private String type;
	private List<Constraint> constraints;

	public DatabaseField(String name, String type) {
		super();
		this.name = name;
		this.type = type;
		this.constraints = new ArrayList<Constraint>();
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getType() {
		return type;
	}

	public void setType(String type) {
		this.type = type;
	}

	public List<Constraint> getConstraints() {
		return constraints;
	}
}

{'fraction_non_alphanumeric': 0.1087962962962963, 'fraction_numerical': 0.0, 'mean_word_length': 3.843137254901961, 'pattern_counts': {'":': 0, '<': 10, '<?xml version=': 0, '>': 10, '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': '131443', 'n_tokens_mistral': 598, 'n_tokens_neox': 541, 'n_words': 148}