<commit_before>/*
 * IntervalModule.java
 *
 * Created on August 5, 2005, 11:25 PM
 */

package org.uwcs.choob.modules;

import java.util.*;
import org.uwcs.choob.support.*;

/**
 *
 * @author  sadiq
 */
public class IntervalModule
{
    List intervalList;
    
    
    /** Creates a new instance of IntervalModule */
    public IntervalModule( List intervalList )
    {
        this.intervalList = intervalList;
    }
    
    public void callBack( Object plugin, Object parameter, Date interval )
    {
        Interval newInt = new Interval();
        
        newInt.setPlugin(plugin.getClass().getName());
        newInt.setTrigger( interval );
        newInt.setParameter( plugin );
        
        intervalList.add( newInt );
    }
}
<commit_msg>Swapped around some mistaken parameters that let to ClassCastExceptions in intervals.<commit_after>/*
 * IntervalModule.java
 *
 * Created on August 5, 2005, 11:25 PM
 */

package org.uwcs.choob.modules;

import java.util.*;
import org.uwcs.choob.support.*;

/**
 *
 * @author  sadiq
 */
public class IntervalModule
{
    List intervalList;
    
    
    /** Creates a new instance of IntervalModule */
    public IntervalModule( List intervalList )
    {
        this.intervalList = intervalList;
    }
    
    public void callBack( Object plugin, Object parameter, Date interval )
    {
        Interval newInt = new Interval();
        
        newInt.setPlugin(plugin.getClass().getName());
        newInt.setTrigger( interval );
        newInt.setParameter( parameter );
        
        intervalList.add( newInt );
    }
}

{'fraction_non_alphanumeric': 0.1053627760252366, 'fraction_numerical': 0.011356466876971609, 'mean_word_length': 2.4478260869565216, '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': '3946382', 'n_tokens_mistral': 475, 'n_tokens_neox': 460, 'n_words': 118}