<commit_before>/**
 *<p>Title: </p>
 *<p>Description:  </p>
 *<p>Copyright: (c) Washington University, School of Medicine 2004</p>
 *<p>Company: Washington University, School of Medicine, St. Louis.</p>
 *@author <NAME>
 *@version 1.0
 */ 
package edu.wustl.common.beans;



/**
 *<p>Title: </p>
 *<p>Description:  </p>
 *<p>Copyright: (c) Washington University, School of Medicine 2005</p>
 *<p>Company: Washington University, School of Medicine, St. Louis.</p>
 *@author <NAME>
 *@version 1.0
 */

public class NameValueBean implements Comparable
{
    private String name=new String();
    private String value=new String();
    
    public NameValueBean()
    {
        
    }
    
    public NameValueBean(String name, String value)
    {
        this.name = name;
        this.value = value;
    }
    
    /**
     * @return Returns the name.
     */
    public String getName()
    {
        return name;
    }
    /**
     * @param name The name to set.
     */
    public void setName(String name)
    {
        this.name = name;
    }
    /**
     * @return Returns the value.
     */
    public String getValue()
    {
        return value;
    }
    /**
     * @param value The value to set.
     */
    public void setValue(String value)
    {
        this.value = value;
    }
    
    
    /* (non-Javadoc)
     * @see java.lang.Object#toString()
     */
    public String toString()
    {
        return new String("name:"+ name +" value:"+value);
    }

	/* (non-Javadoc)
	 * @see java.util.Comparator#compare(java.lang.Object, java.lang.Object)
	 */
	public int compareTo(Object obj)
	{
		if(obj instanceof NameValueBean)
		{
			NameValueBean nameValueBean = (NameValueBean)obj;
			return name.compareTo(nameValueBean.getName());
		}
		return 0;
	}
}
<commit_msg>Comparison done using lowercase. Bug id 763<commit_after>/**
 *<p>Title: </p>
 *<p>Description:  </p>
 *<p>Copyright: (c) Washington University, School of Medicine 2004</p>
 *<p>Company: Washington University, School of Medicine, St. Louis.</p>
 *@author <NAME>
 *@version 1.0
 */ 
package edu.wustl.common.beans;



/**
 *<p>Title: </p>
 *<p>Description:  </p>
 *<p>Copyright: (c) Washington University, School of Medicine 2005</p>
 *<p>Company: Washington University, School of Medicine, St. Louis.</p>
 *@author <NAME>
 *@version 1.0
 */

public class NameValueBean implements Comparable
{
    private String name=new String();
    private String value=new String();
    
    public NameValueBean()
    {
        
    }
    
    public NameValueBean(String name, String value)
    {
        this.name = name;
        this.value = value;
    }
    
    /**
     * @return Returns the name.
     */
    public String getName()
    {
        return name;
    }
    /**
     * @param name The name to set.
     */
    public void setName(String name)
    {
        this.name = name;
    }
    /**
     * @return Returns the value.
     */
    public String getValue()
    {
        return value;
    }
    /**
     * @param value The value to set.
     */
    public void setValue(String value)
    {
        this.value = value;
    }
    
    
    /* (non-Javadoc)
     * @see java.lang.Object#toString()
     */
    public String toString()
    {
        return new String("name:"+ name +" value:"+value);
    }

	/* (non-Javadoc)
	 * @see java.util.Comparator#compare(java.lang.Object, java.lang.Object)
	 */
	public int compareTo(Object obj)
	{
		if(obj instanceof NameValueBean)
		{
			NameValueBean nameValueBean = (NameValueBean)obj;
			return name.toLowerCase().compareTo(nameValueBean.getName().toLowerCase());
		}
		return 0;
	}
}

{'fraction_non_alphanumeric': 0.13401790416008424, 'fraction_numerical': 0.007635597682991048, 'mean_word_length': 1.9913385826771655, 'pattern_counts': {'":': 0, '<': 39, '<?xml version=': 0, '>': 39, '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': '2270291', 'n_tokens_mistral': 1254, 'n_tokens_neox': 1186, 'n_words': 298}