Révision 2703

tmp/org.txm.lexicaltable.rcp/src/org/txm/lexicaltable/rcp/handlers/ComputeLexicalTable.java (revision 2703)
146 146
			lexicalTable.setUnitProperty(property);
147 147
			// transmit index fmin/fmax parameters
148 148
			lexicalTable.setFMinFilter(firstIndex.getFilterFmin());
149
			if (useAllOccurrences) {
149
			if (useAllOccurrences && firstIndex.getFilterVmax() < Integer.MAX_VALUE) {
150 150
				lexicalTable.setVMaxFilter(firstIndex.getFilterVmax() + 1); // the #REST line is added, we need to add a line to vmax
151 151
			}
152 152
			else {
153 153
				lexicalTable.setVMaxFilter(firstIndex.getFilterVmax());
154 154
			}
155
			
156
			
157
			
158
			
159
			
160
			// FIXME: SJ: became useless?
161
			// return null;
162
			// } else if (s instanceof QueryIndex) {
163
			// List<QueryIndex> qindexes = selection.toList();
164
			// computeWithQueryIndexes(qindexes);
165
			// return null;
166 155
		}
167 156
		// Creating from Partition
168 157
		else if (selection instanceof Partition) {

Formats disponibles : Unified diff