[Demonstration 1]

[Buggy Method]
public void onReceive(Context context, Intent intent) {
    Debug.logDebug(TAG, "onReceive() - action:" + intent.getAction());
    switch(intent.getAction()) {
        case Constants.BROADCAST_ACTION_LOCATIONSERVICES_CONNECTED:
            mModel.LoadGeofenceData(MainPresenterImpl.this);
            break;
        case Constants.BROADCAST_ACTION_PERMISSION_REQUESTED:
            mView.checkPermissions();
            break;
    }
}

[Buggy Hunk]
mModel.LoadGeofenceData(MainPresenterImpl.this);

[Patch]
mModel.loadGeofenceData(MainPresenterImpl.this);

[Demonstration 2]

[Buggy Method]
@Override
public void onItemSelected(AdapterView<?> parent, View view, int pos, long id) {
    GetDirection getDir = new GetDirection();
    getDir.execute(plDetail.getAddress(), parent.getItemAtPosition(pos).toString().toLowerCase());
}

[Buggy Hunk]
GetDirection getDir = new GetDirection();

[Patch]
GetDirection getDir = new GetDirection(getResources().getIntArray(R.array.dir_color)[pos]);

[Demonstration 3]

[Buggy Method]
public void run() {
    start();
    while (run) {
        Event e = getNextEvent();
        if (e != null) {
            stateMachine.getCurrentState().notifyEvent(e.getName());
        }
    }
}

[Buggy Hunk]
stateMachine.getCurrentState().notifyEvent(e.getName());

[Patch]
stateMachine.triggerEvent(e.getName());