[Demonstration 1]

[Buggy Method]
public String visit(FieldDecl stmt) {
    String flag = "  " + stmt.getType().accept(this) + " ";
    for (IdName id : stmt.getListId()) {
        flag += id.accept(this);
        if (id.getSize() != null)
            flag += "[" + id.getSize() + "]";
    }
    return flag += ";\n";
}

[Buggy Hunk]
flag += "["+id.getSize()+"]";

[Patch]
flag += "["+id.getSize().toString()+"]";

[Demonstration 2]

[Buggy Method]
public static ArrayList<ItemStack> getFinalItems(String reward, Player player) {
    ArrayList<ItemStack> items = new ArrayList<ItemStack>();
    for (String l : Main.settings.getFile(GUI.Crate.get(player)).getStringList(reward + ".Items")) {
        ArrayList<String> lore = new ArrayList<String>();
        HashMap<Enchantment, Integer> enchs = new HashMap<Enchantment, Integer>();
        String name = "";
        int amount = 1;
        String m = "Stone";
        for (String i : l.split(", ")) {
            if (i.contains("Item:")) {
                i = i.replaceAll("Item:", "");
                m = i;
            }
            if (i.contains("Name:")) {
                i = i.replaceAll("Name:", "");
                i = i.replaceAll("_", " ");
                name = color(i);
            }
            if (i.contains("Amount:")) {
                i = i.replaceAll("Amount:", "");
                amount = Integer.parseInt(i);
            }
            if (i.contains("Lore:")) {
                i = i.replaceAll("Lore:", "");
                for (String L : i.split(",")) {
                    L = color(L);
                    lore.add(L);
                }
            }
            for (String enc : getEnchants()) {
                if (i.contains(enc + ":")) {
                    String[] breakdown = i.split(":");
                    int lvl = Integer.parseInt(breakdown[1]);
                    enchs.put(Enchantment.getByName(enc), lvl);
                }
            }
        }
        items.add(makeItem(m, amount, name, lore, enchs));
    }
    return items;
}

[Buggy Hunk]
if(i.contains(enc+":")){

[Patch]
if(i.toLowerCase().startsWith(enc.toLowerCase() + ":")){

[Demonstration 3]

[Buggy Method]
@Override
public void handleMouse(MouseEvent event, EventType<? extends MouseEvent> type) {
    if (type == MouseEvent.MOUSE_CLICKED) {
        Node focusedObject = this.getFocusOwner();
        if (focusedObject instanceof UnfocusableTextField) {
            TextField textField = (TextField) focusedObject;
            Point2D textFieldPos = textField.localToScene(Point2D.ZERO);
            double mouseX = event.getSceneX();
            double mouseY = event.getSceneY();
            if (!(textFieldPos.getX() <= mouseX && mouseX < textFieldPos.getX() + textField.getWidth()) && textFieldPos.getY() <= mouseY && mouseY < textFieldPos.getY() + textField.getHeight()) {
                this.rootPane.requestFocus();
            }
        }
    }
}

[Buggy Hunk]
if (type == MouseEvent.MOUSE_CLICKED) {

[Patch]
if (type == MouseEvent.MOUSE_PRESSED) {