[Demonstration 1]

[Buggy Method]
@Override
public void onBindViewHolder(RecyclerView.ViewHolder viewHolder, int i) {
    VplanObject obj = vplanEntries.get(i);
    // if this is the vplan_info_view
    if (obj instanceof VplanInfo) {
        VPlanInfoViewHolder vPlanInfoViewHolder = (VPlanInfoViewHolder) viewHolder;
        // get entries and construct String
        String string_info = "Keine Informationen gespeichert";
        for (int j = 0; j < ((VplanInfo) obj).getInfos().size(); j++) {
            string_info = ((VplanInfo) obj).getInfos().get(j) + System.getProperty("line.separator");
        }
        vPlanInfoViewHolder.info.setText(string_info);
    } else {
        // cast to VPlanViewHolder
        VplanEntry entry = (VplanEntry) obj;
        VPlanViewHolder vPlanViewHolder = (VPlanViewHolder) viewHolder;
        // get elements from vplanEntries class
        String lesson = entry.getLessons();
        String school_class = entry.getGrade();
        String regular = entry.getPlan();
        String comment = entry.getComment();
        String substitution = entry.getSubstitution();
        // only display school class in entry cards, if user is no pupil (and has more than
        // only his own class's entries)
        if (!multiClass) {
            vPlanViewHolder.schoolClassText.setText(school_class);
        }
        // display entries
        vPlanViewHolder.lessonText.setText(lesson);
        vPlanViewHolder.regularText.setText(regular);
        vPlanViewHolder.substitutionText.setText(substitution);
        vPlanViewHolder.substitutionText.setText(comment);
    }
}

[Buggy Hunk]
vPlanViewHolder.substitutionText.setText(comment);

[Patch]
vPlanViewHolder.commentText.setText(comment);

[Demonstration 2]

[Buggy Method]
@Override
public Iterable<Entity> getAllLinkedNodes(String title) {
    Map<String, Object> params = new HashMap<>();
    params.put("title", title);
    String query = QueryHelper.FindLinkedTo();
    return session.query(Entity.class, query, params);
}

[Buggy Hunk]
params.put("title", title);

[Patch]
params.put("title", SeekerThread.replaceText(title));

[Demonstration 3]

[Buggy Method]
public Stream<Item> queryStream(QuerySpec query) {
    return Collections.stream(query(query));
}

[Buggy Hunk]
return Collections.stream(query(query));

[Patch]
return queryStream(query, false);