<commit_before>package org.minimalj.frontend.impl.vaadin.toolkit;

import org.minimalj.frontend.Frontend.IComponent;

import com.vaadin.ui.Label;

public class VaadinTitle extends Label implements IComponent {
	private static final long serialVersionUID = 1L;

	public VaadinTitle(String content) {
//		content = Util.escapeHTML(content);
		setContentMode(CONTENT_XHTML);
		setValue("<h1>" + content + "</h1><hr />");
	}

}<commit_msg>VaadinTitle: smaller, warning cleanup<commit_after>package org.minimalj.frontend.impl.vaadin.toolkit;

import org.minimalj.frontend.Frontend.IComponent;

import com.vaadin.shared.ui.label.ContentMode;
import com.vaadin.ui.Label;

public class VaadinTitle extends Label implements IComponent {
	private static final long serialVersionUID = 1L;

	public VaadinTitle(String content) {
//		content = Util.escapeHTML(content);
		setContentMode(ContentMode.HTML);
		setValue("<h2>" + content + "</h2><hr />");
	}

}
{'fraction_non_alphanumeric': 0.12182203389830508, 'fraction_numerical': 0.006355932203389831, 'mean_word_length': 5.472602739726027, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 9, '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': '2019442', 'n_tokens_mistral': 324, 'n_tokens_neox': 303, 'n_words': 61}