<commit_before>package to.etc.domui.dom.html;

/**
 * 
 * 
 *
 * @author <a href="mailto:<EMAIL>"><NAME></a>
 * Created on Dec 8, 2009
 */
public class ModificationFenceDiv extends Div implements IUserInputModifiedFence {

	private boolean m_finalUserInputModifiedFence;

	private boolean m_modified;

	private boolean m_ignoreModifiedInputs;

	public boolean isIgnoreModifiedInputs() {
		return m_ignoreModifiedInputs;
	}

	public void setIgnoreModifiedInputs(boolean ignoreModifiedInputs) {
		m_ignoreModifiedInputs = ignoreModifiedInputs;
	}

	@Override
	public boolean isFinalUserInputModifiedFence() {
		return m_finalUserInputModifiedFence;
	}

	public void setFinalUserInputModifiedFence(boolean finalUserInputModifiedFence) {
		m_finalUserInputModifiedFence = finalUserInputModifiedFence;
	}

	@Override
	public boolean isModified() {
		return m_ignoreModifiedInputs ? false : m_modified;
	}

	@Override
	public void setModified(boolean as) {
		m_modified = as;
	}

}<commit_msg>Changed defaults for some flags.<commit_after>package to.etc.domui.dom.html;

/**
 * This is DIV that is used as user input modified flag fence.
 * Usually it is used to ignore input controls modification in some screen region.
 * When components are used for read only data presentation purposes (like viewers of selection filters)
 * those components does not modify any page value content.
 *
 * @author <a href="mailto:<EMAIL>"><NAME></a>
 * Created on Dec 8, 2009
 */
public class ModificationFenceDiv extends Div implements IUserInputModifiedFence {

	private boolean m_finalUserInputModifiedFence = true;

	private boolean m_modified;

	private boolean m_ignoreModifiedInputs = true;

	/**
	 * Indicates wether component keep tracks on its childs modifications.
	 * By default set to true.
	 * @return
	 */
	public boolean isIgnoreModifiedInputs() {
		return m_ignoreModifiedInputs;
	}

	public void setIgnoreModifiedInputs(boolean ignoreModifiedInputs) {
		m_ignoreModifiedInputs = ignoreModifiedInputs;
	}

	/**
	 * @see to.etc.domui.dom.html.IUserInputModifiedFence#isFinalUserInputModifiedFence()
	 * By default set to true.
	 */
	@Override
	public boolean isFinalUserInputModifiedFence() {
		return m_finalUserInputModifiedFence;
	}

	/**
	 * @see to.etc.domui.dom.html.IUserInputModifiedFence#isFinalUserInputModifiedFence()
	 */
	public void setFinalUserInputModifiedFence(boolean finalUserInputModifiedFence) {
		m_finalUserInputModifiedFence = finalUserInputModifiedFence;
	}

	@Override
	public boolean isModified() {
		return m_ignoreModifiedInputs ? false : m_modified;
	}

	@Override
	public void setModified(boolean as) {
		m_modified = as;
	}

}
{'fraction_non_alphanumeric': 0.07724189902034664, 'fraction_numerical': 0.0037678975131876413, 'mean_word_length': 5.174418604651163, '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': '4332649', 'n_tokens_mistral': 815, 'n_tokens_neox': 777, 'n_words': 207}