[Demonstration 1]

[Buggy Method]
private void loadAccountDataFromPrefs() {
    String accountJson = prefs().getString(PREFS_KEY_ACCOUNT_JSON, null);
    if (!TextUtils.isEmpty(accountJson)) {
        mCurrentAccount = StarterKitApp.getInstance().accountFromJson(accountJson);
    }
}

[Buggy Hunk]
mCurrentAccount = StarterKitApp.getInstance().accountFromJson(accountJson);

[Patch]
mCurrentAccount = ((StarterKitApp)StarterKitApp.getInstance()).accountFromJson(accountJson);

[Demonstration 2]

[Buggy Method]
public void setSkillValue(String Name, Integer Value) {
    for (Skills skill : pvSkills) {
        if (skill.getSkillName().equals(Name)) {
            skill.setSkillValue(Value);
            break;
        }
    }
}

[Buggy Hunk]
if(skill.getSkillName().equals(Name)) {

[Patch]
if(skill.getSkillName().toUpperCase().equals(Name.toUpperCase())) {