[Demonstration 1]

[Buggy Method]
public static ConcurrentHashMap<String, QueueWrapper[]> getQwMap() {
    return qwMap;
}

[Buggy Hunk]
public static ConcurrentHashMap<String, QueueWrapper[]> getQwMap() {

[Patch]
static ConcurrentHashMap<String, QueueWrapper[]> getQwMap() {

[Demonstration 2]

[Buggy Method]
@Override
public void gradeCurrentCard(boolean positive) {
    if (currentCard != null) {
        if (positive) {
            currentCard.setRating(currentCard.getRating() + 1);
        } else {
            currentCard.setRating(currentCard.getRating() + 1);
        }
        if (currentCard.getId() != Card.UNKNOWN_ID) {
            realm.copyToRealmOrUpdate(currentCard);
        } else {
            Log.e("LearnAssistant", "Kann Karte ohne ID nicht updaten");
        }
    }
}

[Buggy Hunk]
if (currentCard.getId() != Card.UNKNOWN_ID)

[Patch]
if (currentCard.getID() != Card.UNKNOWN_ID)

[Demonstration 3]

[Buggy Method]
@Override
public void remove(String key) {
    WindowsStore.Entry.nonNullCheckForKey(key);
    Delete delete = new Delete(effectiveKey(key), System.currentTimeMillis());
    try {
        htable.delete(delete);
    } catch (IOException e) {
        throw new RuntimeException(e);
    }
}

[Buggy Hunk]
htable.delete(delete);

[Patch]
htable().delete(delete);