public void testtestIsLast() throws SQLException {
  assertFalse(target.isLast());
  target.absolute(-1);
  assertTrue(target.isLast());
  assertFalse(emptyTarget.isLast());
  assertFalse(emptyTarget.next());
  assertFalse(emptyTarget.isLast());
  try {
    target.close();
    target.isLast();
    fail("Should get SQLException");
  }
 catch (  SQLException e) {
  }
}

public void testtestIsLast ( ) throws SQLException { assertFalse ( target . isLast ( ) ) ; target . absolute ( - 1 ) ; assertTrue ( target . isLast ( ) ) ; assertFalse ( emptyTarget . isLast ( ) ) ; assertFalse ( emptyTarget . next ( ) ) ; assertFalse ( emptyTarget . isLast ( ) ) ; try { target . close ( ) ; target . isLast ( ) ; fail ( "Should get SQLException" ) ; } catch ( SQLException e ) { } }
second block first assertion fails . is last should evaluate true if the row on which the cursor is actually provides a result . statment . close ( ) does not wrap up
