Revision f274f083
Added by Andreas Müller almost 2 years ago
eu.etaxonomy.taxeditor.editor/src/main/java/eu/etaxonomy/taxeditor/editor/name/e4/handler/MoveSynonymToAnotherAcceptedTaxonHandlerE4.java | ||
---|---|---|
7 | 7 |
import javax.inject.Inject; |
8 | 8 |
import javax.inject.Named; |
9 | 9 |
|
10 |
import org.apache.log4j.Logger; |
|
10 |
import org.apache.logging.log4j.LogManager;import org.apache.logging.log4j.Logger;
|
|
11 | 11 |
import org.eclipse.e4.core.di.annotations.CanExecute; |
12 | 12 |
import org.eclipse.e4.core.di.annotations.Execute; |
13 | 13 |
import org.eclipse.e4.ui.di.UISynchronize; |
... | ... | |
38 | 38 |
import eu.etaxonomy.taxeditor.ui.dialog.selection.TaxonNodeSelectionDialog; |
39 | 39 |
|
40 | 40 |
public class MoveSynonymToAnotherAcceptedTaxonHandlerE4 implements IPostOperationEnabled{ |
41 |
private static final Logger logger = Logger |
|
42 |
.getLogger(MoveSynonymToAnotherAcceptedTaxonHandlerE4.class);
|
|
41 |
|
|
42 |
private static final Logger logger = Logger.getLogger(MoveSynonymToAnotherAcceptedTaxonHandlerE4.class);
|
|
43 | 43 |
|
44 | 44 |
private TaxonNameEditorE4 editor; |
45 | 45 |
|
... | ... | |
93 | 93 |
UUID newSecUuid = null; |
94 | 94 |
|
95 | 95 |
Reference synSecRef = synonym.getSec(); |
96 |
|
|
96 |
|
|
97 | 97 |
Reference parentSecRef = newParentNode.getTaxon() != null? newParentNode.getTaxon().getSec():null; |
98 | 98 |
if ((synSecRef != parentSecRef && secHandling.equals(SecReferenceHandlingEnum.KeepOrWarn) )|| secHandling.equals(SecReferenceHandlingEnum.KeepOrSelect)){ |
99 | 99 |
|
Also available in: Unified diff
ref #9359 upgrade TaxEditor to log4j2