<commit_before>package com.ianhanniballake.contractiontimer.backup;

import android.content.Context;
import android.os.Build;

/**
 * Manages access to the Android BackupManager
 */
public abstract class BackupController
{
	/**
	 * Factory method for creating {@link BackupController} objects
	 * 
	 * @return appropriate instance of BackupManager
	 */
	public static BackupController createInstance()
	{
		if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.FROYO)
			return new BackupControllerV8();
		return new BackupControllerBase();
	}

	/**
	 * Set the strict mode appropriately
	 * 
	 * @param context
	 *            Context used to back up data
	 */
	public abstract void dataChanged(final Context context);<commit_msg>Corrects Javadoc<commit_after>package com.ianhanniballake.contractiontimer.backup;

import android.content.Context;
import android.os.Build;

/**
 * Manages access to the Android BackupManager
 */
public abstract class BackupController
{
	/**
	 * Factory method for creating {@link BackupController} objects
	 * 
	 * @return appropriate instance of BackupManager
	 */
	public static BackupController createInstance()
	{
		if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.FROYO)
			return new BackupControllerV8();
		return new BackupControllerBase();
	}

	/**
	 * Notifies the BackupManager that the data has changed
	 * 
	 * @param context
	 *            Context used to back up data
	 */
	public abstract void dataChanged(final Context context);
{'fraction_non_alphanumeric': 0.08559782608695653, 'fraction_numerical': 0.001358695652173913, 'mean_word_length': 4.061855670103093, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, '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': '4671051', 'n_tokens_mistral': 438, 'n_tokens_neox': 400, 'n_words': 123}