do nothing when resultSet is empty and remove unused method