<commit_before>package com.reason;

import org.jetbrains.annotations.NotNull;
import com.intellij.execution.process.ProcessAdapter;
import com.intellij.execution.process.ProcessEvent;
import com.intellij.execution.process.ProcessHandler;
import com.intellij.execution.process.ProcessOutputTypes;

public class ProcessFinishedListener extends ProcessAdapter {
    private long m_start;

    public ProcessFinishedListener(long start) {
        m_start = start;
    }

    @Override
    public void processTerminated(@NotNull ProcessEvent event) {
        long end = System.currentTimeMillis();
        Object source = event.getSource();
        if (source instanceof ProcessHandler) {
            ((ProcessHandler) source).notifyTextAvailable("Process finished in " + formatBuildTime(end - m_start) + "\n\n", ProcessOutputTypes.SYSTEM);
        }
    }
<commit_msg>Added default constructor for ProcessFinishedListener.<commit_after>package com.reason;

import org.jetbrains.annotations.NotNull;
import com.intellij.execution.process.ProcessAdapter;
import com.intellij.execution.process.ProcessEvent;
import com.intellij.execution.process.ProcessHandler;
import com.intellij.execution.process.ProcessOutputTypes;

public class ProcessFinishedListener extends ProcessAdapter {

    private long m_start;
    
    public ProcessFinishedListener() {
        this(System.currentTimeMillis());
    }

    public ProcessFinishedListener(long start) {
        m_start = start;
    }

    @Override
    public void processTerminated(@NotNull ProcessEvent event) {
        long end = System.currentTimeMillis();
        Object source = event.getSource();
        if (source instanceof ProcessHandler) {
            ((ProcessHandler) source).notifyTextAvailable("Process finished in " + formatBuildTime(end - m_start) + "\n\n", ProcessOutputTypes.SYSTEM);
        }
    }

{'fraction_non_alphanumeric': 0.08968850698174007, 'fraction_numerical': 0.0, 'mean_word_length': 3.981283422459893, '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': '3738003', 'n_tokens_mistral': 495, 'n_tokens_neox': 482, 'n_words': 105}