<commit_before>package com.hicc.cloud.teacher.utils;

import android.content.Context;
import android.content.SharedPreferences;

/**
 * SharedPreferences工具
 */
public class SpUtils {
	private static SharedPreferences sp;

	public static void putBoolSp(Context context, String key, boolean value) {
		if (sp == null) {
			sp = context.getSharedPreferences("confing", Context.MODE_PRIVATE);
		}
		sp.edit().putBoolean(key, value).commit();
	}<commit_msg>完成朋友界面<commit_after>package com.hicc.cloud.teacher.utils;

import android.content.Context;
import android.content.SharedPreferences;

/**
 * SharedPreferences工具.
 */
public class SpUtils {
	private static SharedPreferences sp;

	public static void putBoolSp(Context context, String key, boolean value) {
		if (sp == null) {
			sp = context.getSharedPreferences("confing", Context.MODE_PRIVATE);
		}
		sp.edit().putBoolean(key, value).commit();
	}
{'fraction_non_alphanumeric': 0.12138084632516703, 'fraction_numerical': 0.0, 'mean_word_length': 5.157534246575342, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '825800', 'n_tokens_mistral': 291, 'n_tokens_neox': 277, 'n_words': 62}