Revision 946

tmp/org.txm.searchengine.cqp.core/src/org/txm/searchengine/cqp/corpus/query/Match.java (revision 946)
275 275
	}
276 276

  
277 277
	public List<Integer> getRange() {
278
		List<Integer> ret = new ArrayList<Integer>(end-start);
279
		for (int i = start ; i < end; i++) ret.add(i);
278
		List<Integer> ret = new ArrayList<Integer>(size());
279
		for (int i = start ; i <= end; i++) ret.add(i);
280 280
		return ret;
281 281
	}
282 282

  

Also available in: Unified diff