Skip to content

QueryUrisLoader uses Integer.parseInt to obtain total count #177

Description

@hansenmc

The QueryUrisLoader currently uses Integer.parseInt() to read the total URI count, but setTotalCount() accepts a long.

https://github.com/marklogic-community/corb2/blob/master/src/main/java/com/marklogic/developer/corb/QueryUrisLoader.java#L134

In order to be able to parse counts greater than Integer.MAX_VALUE, Long.parseLong() should be used instead.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions