#fixed code
                                @Test
    public void testSelectWithoutWhereClause() {
        try (Database db = db()) {
            Assert.assertEquals(3, (long) db.select("select name from person") //
                    .count() //
                    .blockingGet());
        }
    }
#vulnerable code 
                                @Test
    public void testSelectWithoutWhereClause() {
        Assert.assertEquals(3, (long) db().select("select name from person") //
                .count() //
                .blockingGet());
    } 
                            #location 4 
                            #vulnerability type RESOURCE_LEAK