[Demonstration 1]

[Buggy Method]
public ViewGroup getParent() {
    return parent;
}

[Buggy Hunk]
public ViewGroup getParent() {

[Patch]
public final ViewGroup getParent() {

[Demonstration 2]

[Buggy Method]
@Override
protected void onPostExecute(final Boolean success) {
    mAuthTask = null;
    showProgress(false);
    if (success) {
        finish();
    } else {
        mPhoneNumberView.setError(getString(R.string.error_incorrect_password));
        mPhoneNumberView.requestFocus();
    }
}

[Buggy Hunk]
mPhoneNumberView.setError(getString(R.string.error_incorrect_password));

[Patch]
mPhoneNumberView.setError(getString(R.string.register_error));

[Demonstration 3]

[Buggy Method]
@Override
public int compareTo(State o) {
    if (this.depth != o.depth)
        return 1;
    if ((this.depth == 0 && o.depth == 0) && (this.rootState != this || o.rootState != o))
        return 1;
    if (!this.success.equals(o.success))
        return 1;
    if (this.failure != null && o.failure != null && !this.failure.equals(o.failure))
        return 1;
    if (this.emits != null && o.emits != null && !this.emits.equals(o.emits))
        return 1;
    return 0;
}

[Buggy Hunk]
if (!this.success.equals(o.success))

[Patch]
if (!gotoEquality(this.success, o.success))