Ignore:
Timestamp:
12/20/13 10:03:18 (10 years ago)
Author:
keeloo
Message:

Finished the upgrade. The web application still needs to be tested.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • vlo/branches/to-wicket-1.6/vlo_web_app/src/main/java/eu/clarin/cmdi/vlo/pages/SolrDocumentDataProvider.java

    r2768 r4208  
    1313import eu.clarin.cmdi.vlo.dao.SearchResultsDao;
    1414
    15 public class SolrDocumentDataProvider extends SortableDataProvider<SolrDocument> {
     15public class SolrDocumentDataProvider extends SortableDataProvider<SolrDocument, String> {
    1616
    1717    private static final long serialVersionUID = 1L;
     
    3636
    3737    @Override
    38     public Iterator<? extends SolrDocument> iterator(int first, int count) {
     38    public Iterator<? extends SolrDocument> iterator(long first, long count) {
    3939        if (first != query.getStart().intValue() || count != query.getRows().intValue()) {
    40             query.setStart(first).setRows(count);
     40            query.setStart((int)first).setRows((int)count);
    4141            docList = null;
    4242        }
     
    5050
    5151    @Override
    52     public int size() {
     52    public long size() {
    5353        return (int) getDocList().getNumFound();
    5454    }
Note: See TracChangeset for help on using the changeset viewer.