[Demonstration 1]

[Buggy Method]
public void ignoreCallbacks() {
    callbackProgress = new IsPopCallbackProgress() {

        @Override
        public void noWhatsPopularData() {
        }

        @Override
        public void finish(PopularTag tag) {
        }

        @Override
        public void error(Exception e) {
        }
    };
}

[Buggy Hunk]
public void error(Exception e) {

[Patch]
public void error(Exception e, String s) {

[Demonstration 2]

[Buggy Method]
@Override
public int compare(OnboardingSection lhs, OnboardingSection rhs) {
    if (lhs == null && rhs == null) {
        return 0;
    } else if (lhs == null) {
        return 1;
    } else if (rhs == null) {
        return -1;
    }
    OnboardingSectionType lhsType = lhs.getOnboardingSectionType();
    OnboardingSectionType rhsType = rhs.getOnboardingSectionType();
    // If there is a CUSTOM type, just return same, or 0, so it does not shift positions
    if (lhsType == OnboardingSectionType.CUSTUM || rhsType == OnboardingSectionType.CUSTUM) {
        return 0;
    }
    Integer lhsOrdinal = lhsType.ordinal();
    Integer rhsOrdinal = rhsType.ordinal();
    return lhsOrdinal.compareTo(rhsOrdinal);
}

[Buggy Hunk]
if (lhsType == OnboardingSectionType.CUSTUM || rhsType == OnboardingSectionType.CUSTUM) {

[Patch]
if (lhsType == OnboardingSectionType.CUSTOM || rhsType == OnboardingSectionType.CUSTOM) {

[Demonstration 3]

[Buggy Method]
@Test
public void DAO_DOMITORY_ADD_001() {
    DomitoryBean testDomitory = new DomitoryBean();
    testDomitory.setDomitory_ID(10622);
    testDomitory.setDomitory_BuildingID(10);
    testDomitory.setDomitory_Name("abc");
    testDomitory.setDomitory_Type("female");
    testDomitory.setDomitory_Number("622");
    testDomitory.setDomitory_Tel("2020102");
    testDomitory.setBuilding_Name("Building10");
    new DomitoryDao().Add(testDomitory);
}

[Buggy Hunk]
public void DAO_DOMITORY_ADD_001() {

[Patch]
public void DAO_DOMITORY_ADD_001() throws Exception {