[Demonstration 1]

[Buggy Method]
@Override
public Boolean createRoomInUserList(Integer userId, Integer roomId) {
    Integer seqId = super.getIdFromSequencer("USERS_ROOMS_SEQ");
    String query = "INSERT INTO CHAT.USERS_ROOMS VALUES (?, ?, ?)";
    log.info(query + " [seqId=" + seqId + ", userId=" + userId + ", roomId=" + roomId + "]");
    int result = jdbcTemplate.update(query, new Object[] { seqId, userId, roomId });
    return result == 1 ? true : false;
}

[Buggy Hunk]
Integer seqId = super.getIdFromSequencer("USERS_ROOMS_SEQ");

[Patch]
Integer seqId = super.getIdFromSequencer();

[Demonstration 2]

[Buggy Method]
public void remove(int position) {
    CategoryRecipes data = mItems.get(position);
    if (mItemsPendingRemoval.contains(data)) {
        mItemsPendingRemoval.remove(data);
    }
    if (mItems.contains(data)) {
        mItems.remove(position);
        notifyItemRemoved(position);
    }
}

[Buggy Hunk]
public void remove(int position) {

[Patch]
private void remove(int position) {

[Demonstration 3]

[Buggy Method]
public boolean evaluatePropertyConstraints(Collection<String> publishedVariableNames) {
    if (supportedProperties != null) {
        for (TypedProperty tp : supportedProperties.values()) {
            if (!tp.evaluateConstraints(publishedVariableNames)) {
                return false;
            }
        }
    }
    return true;
}

[Buggy Hunk]
for (TypedProperty tp : supportedProperties.values()) {

[Patch]
for (TypedProperty tp : supportedProperties) {