<commit_before>/**
 * This Source Code Form is subject to the terms of the Mozilla Public License,
 * v. 2.0. If a copy of the MPL was not distributed with this file, You can
 * obtain one at http://mozilla.org/MPL/2.0/. OpenMRS is also distributed under
 * the terms of the Healthcare Disclaimer located at http://openmrs.org/license.
 *
 * Copyright (C) OpenMRS Inc. OpenMRS is a registered trademark and the OpenMRS
 * graphic logo is a trademark of OpenMRS Inc.
 */
package org.openmrs.layout.web.name;

import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import org.openmrs.api.context.Context;
import org.openmrs.layout.web.LayoutSupport;

/**
 * @deprecated
 * @see org.openmrs.layout.name.NameSupport
 */
@Deprecated
public class NameSupport extends LayoutSupport<NameTemplate> {
	
	private static NameSupport singleton;
	
	static Log log = LogFactory.getLog(NameSupport.class);
	
	public NameSupport() {
		if (singleton == null) {
			singleton = this;
		}
	}
	
	public static NameSupport getInstance() {
		if (singleton == null) {
			throw new RuntimeException("Not Yet Instantiated");<commit_msg>Attempting to fix failing test on travis - NameSupportTest.getInstance_shouldFindNameSupportBean:31 null: https://travis-ci.org/openmrs/openmrs-core/builds/75074885: <commit_after>/**
 * This Source Code Form is subject to the terms of the Mozilla Public License,
 * v. 2.0. If a copy of the MPL was not distributed with this file, You can
 * obtain one at http://mozilla.org/MPL/2.0/. OpenMRS is also distributed under
 * the terms of the Healthcare Disclaimer located at http://openmrs.org/license.
 *
 * Copyright (C) OpenMRS Inc. OpenMRS is a registered trademark and the OpenMRS
 * graphic logo is a trademark of OpenMRS Inc.
 */
package org.openmrs.layout.web.name;

import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import org.openmrs.api.context.Context;
import org.openmrs.layout.web.LayoutSupport;

/**
 * @deprecated
 * @see org.openmrs.layout.name.NameSupport
 */
@Deprecated
public class NameSupport extends LayoutSupport<NameTemplate> {
	
	private static NameSupport singleton;
	
	static Log log = LogFactory.getLog(NameSupport.class);
	
	public NameSupport() {
		if (singleton == null) {
			singleton = this;
		}
	}
	
	public static synchronized NameSupport getInstance() {
		if (singleton == null) {
			throw new RuntimeException("Not Yet Instantiated");
{'fraction_non_alphanumeric': 0.0986088379705401, 'fraction_numerical': 0.007364975450081833, 'mean_word_length': 4.202127659574468, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 1, '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': '677326', 'n_tokens_mistral': 773, 'n_tokens_neox': 718, 'n_words': 240}