[Demonstration 1]

[Buggy Method]
@Override
public void onTextChanged(CharSequence charSequence, int i, int i1, int i2) {
}

[Buggy Hunk]
public void onTextChanged(CharSequence charSequence, int i, int i1, int i2) {

[Patch]
public void onTextChanged(CharSequence s, int start, int before, int count) {

[Demonstration 2]

[Buggy Method]
@Override
protected void onActivityResult(int requestCode, int resultCode, Intent data) {
    switch(requestCode) {
        case Const.ACTION_PICK_IMAGE:
            if (data != null && resultCode == RESULT_OK) {
                Uri selectedImage = data.getData();
                String[] filePathColumn = { MediaStore.Images.Media.DATA };
                Cursor cursor = getContentResolver().query(selectedImage, filePathColumn, null, null, null);
                cursor.moveToFirst();
                int columnIndex = cursor.getColumnIndex(filePathColumn[0]);
                String picturePath = cursor.getString(columnIndex);
                cursor.close();
                mBitmapAvatar = BitmapFactory.decodeFile(picturePath);
                mImageAvatar.setImageBitmap(mBitmapAvatar);
                mUser.setAvatar(picturePath);
                MySqliteHelper mySqliteHelper = new MySqliteHelper(UpdateProfileActivity.this);
                mySqliteHelper.updateUser(mUser);
            } else {
                mBitmapAvatar = null;
                Toast.makeText(getApplicationContext(), R.string.error_get_image, Toast.LENGTH_SHORT).show();
            }
            break;
    }
}

[Buggy Hunk]
mBitmapAvatar = BitmapFactory.decodeFile(picturePath);

[Patch]
mBitmapAvatar = BitmapUtil.decodeSampledBitmapFromFile(picturePath, 100, 100);

[Demonstration 3]

[Buggy Method]
private void actionChangeAdjustFee(final Order order) {
    adjust_fee.addTextChangedListener(new TextWatcher() {

        @Override
        public void beforeTextChanged(CharSequence charSequence, int i, int i1, int i2) {
        }

        @Override
        public void onTextChanged(CharSequence charSequence, int i, int i1, int i2) {
            float adjustFee = adjust_fee.getValueFloat();
            order.setAdjustFree(adjustFee);
            ((OrderHistoryListController) getController()).chaneMaxStoreCreditRefund();
        }

        @Override
        public void afterTextChanged(Editable editable) {
        }
    });
}

[Buggy Hunk]
((OrderHistoryListController) getController()).chaneMaxStoreCreditRefund();

[Patch]
((OrderHistoryListController) getController()).chaneMaxAdjustFeeRefund();