Fix for DIRSHARED-124 : we call next() in the cursor, and if there is no result, we catch the exception, and set the available flag to false.
The test has been changed to use a foreach instead of a while, to check the fix.

git-svn-id: https://svn.apache.org/repos/asf/directory/shared/trunk@1126479 13f79535-47bb-0310-9956-ffa450edef68
1 file changed