[Demonstration 1]

[Buggy Method]
public Vector<Bauteil> getBauteilZwischenTabelle(int id) {
    Vector<TeileListe> list = new Vector<TeileListe>();
    list = BaugruppeMapper.baugruppeMapper().findByKeyZwischentabelle(id);
    Vector<Bauteil> btl = new Vector<Bauteil>();
    for (int i = 0; i < list.size(); i++) {
        Vector<Bauteil> bt = new Vector<Bauteil>();
        int id1;
        id1 = list.elementAt(i).getId();
        bt = BauteilMapper.bauteilMapper().findByKey(id1);
        btl.add(bt.firstElement());
    }
    return btl;
}

[Buggy Hunk]
list = BaugruppeMapper.baugruppeMapper().findByKeyZwischentabelle(id);

[Patch]
list = BaugruppeMapper.baugruppeMapper().findConnectedBauteile(id);

[Demonstration 2]

[Buggy Method]
@Override
public void run() {
    new HangmanFrame(new HangmanModel());
}

[Buggy Hunk]
new HangmanFrame(new HangmanModel());

[Patch]
HangmanFrame hangmanFrame = new HangmanFrame(new HangmanModel());

[Demonstration 3]

[Buggy Method]
public void fontResourceError(String pathToFonts) {
    print("Oops! Meteors have crashed your village and destroyed your resources!\n" + "We could not find the fonts (" + pathToFonts + ") needed to " + "display text on the screen. :(\nPlease reinstall the game and " + "don't forget the fonts!");
}

[Buggy Hunk]
public void fontResourceError(String pathToFonts) {

[Patch]
public static void fontResourceError(String pathToFonts) {