Browse Source

minor tweak to iterator

git-svn-id: https://svn.code.sf.net/p/jackcess/code/jackcess/trunk@968 f203690c-595d-4dc9-a70b-905162fa7fd2
tags/jackcess-2.1.3
James Ahlborn 8 years ago
parent
commit
be27c7174c

+ 5
- 1
src/main/java/com/healthmarketscience/jackcess/util/RowFilter.java View File

@@ -18,10 +18,11 @@ package com.healthmarketscience.jackcess.util;

import java.util.Iterator;
import java.util.Map;
import java.util.NoSuchElementException;

import com.healthmarketscience.jackcess.Column;
import org.apache.commons.lang.ObjectUtils;
import com.healthmarketscience.jackcess.Row;
import org.apache.commons.lang.ObjectUtils;


/**
@@ -180,6 +181,9 @@ public abstract class RowFilter
}

public Row next() {
if(_next == null) {
throw new NoSuchElementException();
}
return _next;
}


Loading…
Cancel
Save