<commit_before>import java.io.File;
import java.io.FileInputStream;
import java.io.FileNotFoundException;
import java.io.IOException;
import java.io.InputStream;
import java.sql.SQLException;
import java.util.Hashtable;
import java.util.zip.DataFormatException;

import javax.naming.NamingException;
import javax.naming.directory.DirContext;
import javax.naming.directory.InitialDirContext;

@SuppressWarnings("all")
public class BED_Sample {
    IOException ioe;

    public BED_Sample() throws IOException {

    }

    public BED_Sample(String name) throws NamingException {
        Hashtable<String, String> env = new Hashtable<String, String>();
        env.put("name", name);
        DirContext context = new InitialDirContext(env);
    }

    public void doesTheNasty() throws FileNotFoundException, IOException {

    }

    public void doesTheNasty2() throws IOException, FileNotFoundException {

    }

    public void fpJustAwful() throws IOException, Exception {

    }

    private void badThrow() throws SQLException {

    }

    public static void badStatic() throws DataFormatException {

    }

    public final void badFinal() throws ClassNotFoundException {

    }

    public static void doIt() throws SQLException, IOException {
        InputStream is = new FileInputStream("c:\\temp.txt");
    }

    public static void fp() throws Exception {
        InputStream is = new FileInputStream("c:\\temp.txt");
    }

    private void fpThrowField(boolean b) throws IOException {
        if (b) {
            throw ioe;
        } else {
            IOException e = ioe;
            throw ioe;
        }
    }

    public Object iAmCreatingAnObject() {
        return new Object() {
            private byte[] iHaveToThrowAnException() throws IOException {
                return BED_Sample.this.iThrowAnException();
            }
        };
    }

    private byte[] iThrowAnException() throws IOException {
        File.createTempFile("foo", "bar");
        return "Test".getBytes("UTF-8");
    }
}<commit_msg>Add Issue #92 sample bugs<commit_after>import java.io.File;
import java.io.FileInputStream;
import java.io.FileNotFoundException;
import java.io.IOException;
import java.io.InputStream;
import java.sql.SQLException;
import java.util.Hashtable;
import java.util.zip.DataFormatException;

import javax.naming.NamingException;
import javax.naming.directory.DirContext;
import javax.naming.directory.InitialDirContext;

@SuppressWarnings("all")
public class BED_Sample {
    IOException ioe;

    public BED_Sample() throws IOException {

    }

    public BED_Sample(String name) throws NamingException {
        Hashtable<String, String> env = new Hashtable<String, String>();
        env.put("name", name);
        DirContext context = new InitialDirContext(env);
    }

    public void doesTheNasty() throws FileNotFoundException, IOException {

    }

    public void doesTheNasty2() throws IOException, FileNotFoundException {

    }

    public void fpJustAwful() throws IOException, Exception {

    }

    private void badThrow() throws SQLException {

    }

    public static void badStatic() throws DataFormatException {

    }

    public final void badFinal() throws ClassNotFoundException {

    }

    public static void doIt() throws SQLException, IOException {
        InputStream is = new FileInputStream("c:\\temp.txt");
    }

    public static void fp() throws Exception {
        InputStream is = new FileInputStream("c:\\temp.txt");
    }

    private void fpThrowField(boolean b) throws IOException {
        if (b) {
            throw ioe;
        } else {
            IOException e = ioe;
            throw ioe;
        }
    }

    public Object iAmCreatingAnObject() {
        return new Object() {
            private byte[] iHaveToThrowAnException() throws IOException {
                return BED_Sample.this.iThrowAnException();
            }
        };
    }

    private byte[] iThrowAnException() throws IOException {
        File.createTempFile("foo", "bar");
        return "Test".getBytes("UTF-8");
    }

    private void issue92a() throws InterruptedException {
        System.out.println("test");
    }

    public static void issue92b() throws InterruptedException {
        System.out.println("test");
    }

}
{'fraction_non_alphanumeric': 0.09418088338396821, 'fraction_numerical': 0.0023369946249123625, 'mean_word_length': 2.8733031674208145, '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': '4518185', 'n_tokens_mistral': 1183, 'n_tokens_neox': 1130, 'n_words': 303}