Project

General

Profile

« Previous | Next » 

Revision 61015

refine json to xml element-names

View differences:

modules/dnet-collector-plugins/trunk/src/main/java/eu/dnetlib/data/collector/plugins/rest/RestIterator.java
325 325
		try {
326 326
			if (resultTotal == -1) {
327 327
				resultTotal = Integer.parseInt(xprResultTotalPath.evaluate(resultNode));
328
				if (resumptionType.toLowerCase().equals("page") && !BASIC.equalsIgnoreCase(authMethod)) { resultTotal += 1; }           // to correct the upper bound
328
				if (resumptionType.toLowerCase().equals("page") && !AUTHBASIC.equalsIgnoreCase(authMethod)) { resultTotal += 1; }           // to correct the upper bound
329 329
				log.info("resultTotal was -1 is now: " + resultTotal);
330 330
		}
331 331
		} catch(Exception e) {

Also available in: Unified diff