Révision 2791
tmp/org.txm.searchengine.cqp.core/src/org/txm/searchengine/cqp/corpus/CQPCorpus.java (revision 2791) | ||
---|---|---|
439 | 439 |
} |
440 | 440 |
|
441 | 441 |
/** |
442 |
* Empty the corpus cache |
|
442 |
* Empty the corpus caches
|
|
443 | 443 |
*/ |
444 | 444 |
@Override |
445 | 445 |
public void clean() { |
tmp/org.txm.searchengine.cqp.core/src/org/txm/searchengine/cqp/corpus/MainCorpus.java (revision 2791) | ||
---|---|---|
274 | 274 |
} |
275 | 275 |
catch (Exception e) { |
276 | 276 |
Log.fine(e.getLocalizedMessage()); |
277 |
Log.printStackTrace(e); |
|
277 |
//Log.printStackTrace(e);
|
|
278 | 278 |
} |
279 | 279 |
|
280 | 280 |
if (dataDirectory != null) { |
... | ... | |
287 | 287 |
Toolbox.notifyEngines(this, "clean"); |
288 | 288 |
|
289 | 289 |
cqpFile = null; |
290 |
; |
|
290 |
|
|
291 | 291 |
dataDirectory = null; |
292 | 292 |
nbtext = -1; |
293 | 293 |
registryFile = null; |
tmp/org.txm.searchengine.cqp.core/src/org/txm/searchengine/cqp/corpus/Subcorpus.java (revision 2791) | ||
---|---|---|
139 | 139 |
|
140 | 140 |
@Override |
141 | 141 |
public String getComputingStartMessage() { |
142 |
|
|
143 |
if (this.pQuery == null) { |
|
144 |
return TXMCoreMessages.bind(SearchEngineCoreMessages.info_computingTheP0SubCorpusOfP1CommaQueryP2, this.getSimpleName(), this.getParent().getName(), "<no query>"); |
|
145 |
} |
|
146 |
|
|
142 | 147 |
// created with structure, property and value(s) |
143 | 148 |
if (this.pQuery instanceof SubcorpusCQLQuery) { |
144 | 149 |
SubcorpusCQLQuery query = (SubcorpusCQLQuery) this.pQuery; |
Formats disponibles : Unified diff