<commit_before>package com.alapshin.arctor.presenter;

import android.util.Log;

import com.alapshin.arctor.view.MvpView;

import java.lang.ref.WeakReference;

import javax.annotation.Nonnull;
import javax.annotation.Nullable;

/**
 * Base presenter implementation
 *
 * @author alapshin
 * @since 2015-04-18
 */
public abstract class BasePresenter<V extends MvpView> implements Presenter<V> {
    private static final String TAG = BasePresenter.class.getSimpleName();
    /**
     * Reference to view. Using weak reference to avoid memory leaks. Before calling any view<commit_msg>Use presenter implementation class name as logcat tag<commit_after>package com.alapshin.arctor.presenter;

import android.util.Log;

import com.alapshin.arctor.view.MvpView;

import java.lang.ref.WeakReference;

import javax.annotation.Nonnull;
import javax.annotation.Nullable;

/**
 * Base presenter implementation
 *
 * @author alapshin
 * @since 2015-04-18
 */
public abstract class BasePresenter<V extends MvpView> implements Presenter<V> {
    private final String TAG = this.getClass().getSimpleName();
    /**
     * Reference to view. Using weak reference to avoid memory leaks. Before calling any view
{'fraction_non_alphanumeric': 0.09388097233864208, 'fraction_numerical': 0.013411567476948869, 'mean_word_length': 4.553488372093023, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, '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': '4334711', 'n_tokens_mistral': 367, 'n_tokens_neox': 349, 'n_words': 99}