Révision 3960
| TXM/trunk/bundles/org.txm.searchengine.cqp.rcp/src/org/txm/searchengine/cqp/rcp/handlers/base/ComputeSubCorpus.java (revision 3960) | ||
|---|---|---|
| 198 | 198 |
Log.warning(TXMUIMessages.errorColonSubcorpusWasNotCreated); |
| 199 | 199 |
return Status.CANCEL_STATUS; |
| 200 | 200 |
} |
| 201 |
|
|
| 201 |
if (subcorpus.isDirty()) {
|
|
| 202 |
System.out.println("KC ?? "+subcorpus);
|
|
| 203 |
// clean broken partition |
|
| 204 |
subcorpus.delete(); |
|
| 205 |
} |
|
| 202 | 206 |
// System.out.println(NLS.bind(TXMUIMessages.doneColonP0Created, subcorpus.getName())); |
| 203 | 207 |
monitor.worked(50); |
| 204 | 208 |
|
| TXM/trunk/bundles/org.txm.searchengine.cqp.rcp/src/org/txm/searchengine/cqp/rcp/handlers/base/ComputePartition.java (revision 3960) | ||
|---|---|---|
| 194 | 194 |
} |
| 195 | 195 |
if (emptyParts.size() == partition.getPartsCount()) {
|
| 196 | 196 |
Log.warning(NLS.bind(CQPUIMessages.ErrorAllPartsAreEmpty, partition.getPartsCount())); |
| 197 |
|
|
| 198 |
// clean broken partition |
|
| 199 |
partition.delete(); |
|
| 200 |
|
|
| 197 | 201 |
return Status.CANCEL_STATUS; |
| 198 | 202 |
} |
| 199 | 203 |
else if (emptyParts.size() != 0) {
|
Formats disponibles : Unified diff