[Demonstration 1]

[Buggy Method]
public void start() {
    this.countdown = 0;
    this.running = true;
    b = true;
    Bukkit.getScheduler().scheduleSyncRepeatingTask(Main.getInstance(), new Runnable() {

        @Override
        public void run() {
            countdown++;
            if (countdown < 33) {
                if (countdown == 17 && b) {
                    countdown = 1;
                    b = false;
                }
                String s = "§a§m";
                for (int i = 0; i < countdown; i++) {
                    s += "-";
                }
                updateAllSigns(new String[] { "", "§6§lVinciSigns", s, "" });
            } else {
                stop();
            }
        }
    }, 0L, 1L);
}

[Buggy Hunk]
Bukkit.getScheduler().scheduleSyncRepeatingTask(Main.getInstance(), new Runnable() {

[Patch]
this.task = Bukkit.getScheduler().scheduleSyncRepeatingTask(Main.getInstance(), new Runnable() {

[Demonstration 2]

[Buggy Method]
public int getProductNum(int idx) {
    return ORDER_ITEMS.get(idx).getProductNum();
}

[Buggy Hunk]
public int getProductNum(int idx){

[Patch]
public String getProductNum(int idx){

[Demonstration 3]

[Buggy Method]
public int addToMemory(PCB pcb) {
    // find an availible free space
    int freeSpace = findFreeSpace(pcb.jobSize);
    // find the best fit free space
    int optimalSize = findOptimalSize(pcb.jobSize);
    for (int i = 0; i < pcb.jobSize; i++) {
        inMemory[freeSpace] = pcb.jobNumber;
    }
}

[Buggy Hunk]
public int addToMemory(PCB pcb) {

[Patch]
public void addToMemory(PCB pcb) {