void closeInternal() throws SQLException {
  for (Iterator<JdbcResultSet> it=resSets.iterator(); it.hasNext(); ) {
    JdbcResultSet rs=it.next();
    rs.closeInternal();
    it.remove();
  }
  closed=true;
}

void closeInternal ( ) throws SQLException { for ( Iterator < JdbcResultSet > it = resSets . iterator ( ) ; it . hasNext ( ) ; ) { JdbcResultSet rs = it . next ( ) ; rs . closeInternal ( ) ; it . remove ( ) ; } closed = true ; }
marks statement as closed and closes all result sets .
