Skip to content

Commit

Permalink
use longs instead of ints to match our usage
Browse files Browse the repository at this point in the history
  • Loading branch information
cbeer committed Apr 8, 2013
1 parent 20b6ae1 commit ec5ef97
Showing 1 changed file with 2 additions and 2 deletions.
Expand Up @@ -32,7 +32,7 @@ public class FedoraSitemap extends AbstractResource {

private static final Logger logger = getLogger(FedoraSitemap.class);

public static final int entriesPerPage = 50000;
public static final long entriesPerPage = 50000;

@Inject
ObjectService objectService;
Expand Down Expand Up @@ -86,7 +86,7 @@ public SitemapUrlSet getSitemap(@PathParam("page")
}
}

private RowIterator getSitemapEntries(Session session, int page)
private RowIterator getSitemapEntries(Session session, long page)
throws RepositoryException {
QueryManager queryManager = session.getWorkspace().getQueryManager();

Expand Down

0 comments on commit ec5ef97

Please sign in to comment.