Project

General

Profile

« Previous | Next » 

Revision 58521

Added by Andreas Czerniak about 4 years ago

RestCollectorPlugin: fix termination of deep-cursor; v1.4.1-SNAPSHOT

View differences:

RestIterator.java
346 346
				
347 347
				// terminating if length of nodeList is 0
348 348
				if(nodeList.getLength() == 0) {
349
					resumptionInt += 1;
349
					resumptionInt += ( 1 - resultSizeValue);
350 350
				} else {
351 351
					resumptionInt += (nodeList.getLength() - resultSizeValue);	// subtract the resultSizeValue because the iteration is over real length and the resultSizeValue is added before the switch()
352 352
				}

Also available in: Unified diff