<commit_before>package jp.toastkid.yobidashi.calendar

import android.content.Context
import android.content.Intent
import android.databinding.DataBindingUtil
import android.os.Bundle
import jp.toastkid.yobidashi.BaseActivity
import jp.toastkid.yobidashi.R
import jp.toastkid.yobidashi.analytics.LogSender
import jp.toastkid.yobidashi.databinding.ActivityDateDetailBinding
import jp.toastkid.yobidashi.libs.intent.IntentFactory
import jp.toastkid.yobidashi.search.SearchAction
import java.util.*

/**
 * Displaying date detail activity.
 *
 * @author toastkidjp
 */
class DateDetailActivity : BaseActivity() {

    /**
     * Data-Binding object.
     */
    private lateinit var binding: ActivityDateDetailBinding

    /**
     * Analytics logger wrapper.
     */
    private var logSender: LogSender? = null

    override fun onCreate(savedInstanceState: Bundle?) {
        super.onCreate(savedInstanceState)
        overridePendingTransition(0, 0)
        setContentView(LAYOUT_ID)
        binding = DataBindingUtil.setContentView<ActivityDateDetailBinding>(this, LAYOUT_ID)

        logSender = LogSender(this)

        initToolbar(binding.toolbar)

        initButtons()

        binding.background.setOnClickListener { finish() }
    }<commit_msg>refactor #283 Delete unused class generics DataBindingUtil.setContentView in DateDetailActivity.<commit_after>package jp.toastkid.yobidashi.calendar

import android.content.Context
import android.content.Intent
import android.databinding.DataBindingUtil
import android.os.Bundle
import jp.toastkid.yobidashi.BaseActivity
import jp.toastkid.yobidashi.R
import jp.toastkid.yobidashi.analytics.LogSender
import jp.toastkid.yobidashi.databinding.ActivityDateDetailBinding
import jp.toastkid.yobidashi.libs.intent.IntentFactory
import jp.toastkid.yobidashi.search.SearchAction
import java.util.*

/**
 * Displaying date detail activity.
 *
 * @author toastkidjp
 */
class DateDetailActivity : BaseActivity() {

    /**
     * Data-Binding object.
     */
    private lateinit var binding: ActivityDateDetailBinding

    /**
     * Analytics logger wrapper.
     */
    private var logSender: LogSender? = null

    override fun onCreate(savedInstanceState: Bundle?) {
        super.onCreate(savedInstanceState)
        overridePendingTransition(0, 0)
        setContentView(LAYOUT_ID)
        binding = DataBindingUtil.setContentView(this, LAYOUT_ID)

        logSender = LogSender(this)

        initToolbar(binding.toolbar)

        initButtons()

        binding.background.setOnClickListener { finish() }
    }
{'fraction_non_alphanumeric': 0.08469945355191257, 'fraction_numerical': 0.00273224043715847, 'mean_word_length': 3.9005736137667304, 'pattern_counts': {'":': 0, '<': 4, '<?xml version=': 0, '>': 4, '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': '1793865', 'n_tokens_mistral': 787, 'n_tokens_neox': 737, 'n_words': 138}