Revision 14fb4b3b
Added by Katja Luther about 9 years ago
eu.etaxonomy.taxeditor.editor/src/main/java/eu/etaxonomy/taxeditor/editor/view/descriptive/operation/DeleteTaxonDescriptionOperation.java | ||
---|---|---|
58 | 58 |
throws ExecutionException { |
59 | 59 |
|
60 | 60 |
monitor.worked(20); |
61 |
element.removeDescription(description); |
|
62 |
monitor.worked(40); |
|
63 |
CdmStore.getService(IDescriptionService.class).delete(description); |
|
64 |
|
|
65 |
return postExecute(description); |
|
61 |
if (description != null){ |
|
62 |
CdmStore.getService(IDescriptionService.class).deleteDescription(description); |
|
63 |
return postExecute(description); |
|
64 |
} |
|
65 |
return null; |
|
66 |
|
|
66 | 67 |
} |
67 | 68 |
|
68 | 69 |
/* (non-Javadoc) |
Also available in: Unified diff
#4658