<commit_before>package com.episode6.hackit.disposable.android;

import android.app.Dialog;
import android.content.BroadcastReceiver;
import android.content.Context;
import android.os.Build;
import android.os.HandlerThread;
import com.episode6.hackit.disposable.CheckedDisposable;
import com.episode6.hackit.disposable.CheckedDisposer;
import com.episode6.hackit.disposable.Disposable;
import com.episode6.hackit.disposable.Disposables;

public class AndroidDisposables {

  @SuppressWarnings("deprecation")
  public static CheckedDisposable forHandlerThread(final HandlerThread thread) {
    return new CheckedDisposable() {
      @Override<commit_msg>javadoc<commit_after>package com.episode6.hackit.disposable.android;

import android.app.Dialog;
import android.content.BroadcastReceiver;
import android.content.Context;
import android.os.Build;
import android.os.HandlerThread;
import com.episode6.hackit.disposable.CheckedDisposable;
import com.episode6.hackit.disposable.CheckedDisposer;
import com.episode6.hackit.disposable.Disposable;
import com.episode6.hackit.disposable.Disposables;

/**
 * Utility methods to create android-specific disposables.
 */
public class AndroidDisposables {

  @SuppressWarnings("deprecation")
  public static CheckedDisposable forHandlerThread(final HandlerThread thread) {
    return new CheckedDisposable() {
      @Override
{'fraction_non_alphanumeric': 0.08791208791208792, 'fraction_numerical': 0.007326007326007326, 'mean_word_length': 6.5054945054945055, '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': '6207761', 'n_tokens_mistral': 440, 'n_tokens_neox': 409, 'n_words': 73}