[Demonstration 1]

[Buggy Method]
private void CheckStatus() {
    // 10-20 чутка
    // 150 - лучевая болезнь
    // 400 - смерть
    if (this._countRad <= 20) {
        this.set_status(StatusLife.LIFE);
    } else if ((this._countRad > 20) && (this._countRad <= 150)) {
        this.set_status(StatusLife.ILL);
    } else if ((this._countRad > 150) && (this._countRad <= 400)) {
        this.set_status(StatusLife.RADSIC);
    } else if (this._countRad >= 400) {
        this.set_status(StatusLife.DEAD);
    }
}

[Buggy Hunk]
}else if ((this._countRad > 150) && (this._countRad <= 400)) {

[Patch]
}else if ((this._countRad > 150) && (this._countRad < 400)) {

[Demonstration 2]

[Buggy Method]
@Bean(name = "DataSource")
private static DataSource dataSource() {
    JdbcDataSource dataSource = new JdbcDataSource();
    dataSource.setURL(JDBC_URL);
    dataSource.setUser(USER);
    dataSource.setPassword(PASSWORD);
    return dataSource;
}

[Buggy Hunk]
dataSource.setPassword(PASSWORD);

[Patch]
dataSource.setPassword(PASS);

[Demonstration 3]

[Buggy Method]
public static SQLiteDataSource newDataSource(final File db, final boolean readOnly) {
    SQLiteDataSource dataSource = new SQLiteDataSource();
    dataSource.setReadOnly(readOnly);
    dataSource.setUrl("jdbc:sqlite:" + db.getAbsolutePath());
    dataSource.setSynchronous(DEFAULT_SYNC_MODE.getValue());
    final int MAX_PAGE_SIZE = 65536;
    dataSource.setPageSize(MAX_PAGE_SIZE);
    dataSource.setSharedCache(true);
    dataSource.setReadUncommited(true);
    //dataSource.setCacheSize(10_000);
    dataSource.setLockingMode(LockingMode.NORMAL.name());
    return dataSource;
}

[Buggy Hunk]
dataSource.setLockingMode(LockingMode.NORMAL.name());

[Patch]
dataSource.setLockingMode(LockingMode.NORMAL.getValue());