Changeset 2777


Ignore:
Timestamp:
04/05/13 10:54:38 (12 years ago)
Author:
akislev
Message:

fixed buffer indexing

Location:
CQIClient
Files:
1 added
2 edited

Legend:

Unmodified
Added
Removed
  • CQIClient/pom.xml

    r2761 r2777  
    1919
    2020    <groupId>eu.clarin.cqi</groupId>
    21     <version>1.1</version>
     21    <version>1.2</version>
    2222    <packaging>jar</packaging>
    2323
  • CQIClient/src/main/java/eu/clarin/cqi/client/CqiResult.java

    r2761 r2777  
    8585        }
    8686        bufferedStart = match;
    87         return bufferResults();
     87        return true;
    8888    }
    8989
     
    111111            final int bufferedEnd = (bufferedStart + BUFFER_SIZE > resultSize) ? resultSize - 1 : bufferedStart + BUFFER_SIZE - 1;
    112112            bufferedSize = bufferedEnd - bufferedStart + 1;
    113             bufferIndex = -1;
     113            bufferIndex = 0;
    114114            client.dumpSubCorpus(subCorpusName, CqiClient.CQI_CONST_FIELD_MATCH, bufferedStart, bufferedEnd, results[MATCH_START]);
    115115            client.dumpSubCorpus(subCorpusName, CqiClient.CQI_CONST_FIELD_MATCHEND, bufferedStart, bufferedEnd, results[MATCH_END]);
Note: See TracChangeset for help on using the changeset viewer.