Revision f274f083
Added by Andreas Müller almost 2 years ago
eu.etaxonomy.taxeditor.workbench/src/main/java/eu/etaxonomy/taxeditor/workbench/handler/OpenPreferencesHandler.java | ||
---|---|---|
19 | 19 |
|
20 | 20 |
import javax.inject.Named; |
21 | 21 |
|
22 |
import org.apache.log4j.Logger; |
|
22 |
import org.apache.logging.log4j.LogManager;import org.apache.logging.log4j.Logger;
|
|
23 | 23 |
import org.eclipse.core.runtime.CoreException; |
24 | 24 |
import org.eclipse.core.runtime.IConfigurationElement; |
25 | 25 |
import org.eclipse.core.runtime.IExtensionRegistry; |
... | ... | |
50 | 50 |
private static final String ATT_CLASS = "class"; //$NON-NLS-1$ |
51 | 51 |
private static final String EXTENSION_ELEMENT_PAGE = "page"; //$NON-NLS-1$ |
52 | 52 |
private static final String EXTENSION_POINT_ID = "eu.etaxonomy.taxeditor.store.preferencePage"; //$NON-NLS-1$ |
53 |
private Logger logger = Logger.getLogger(OpenPreferencesHandler.class); |
|
53 |
private Logger logger = LogManager.getLogger(OpenPreferencesHandler.class);
|
|
54 | 54 |
|
55 | 55 |
@Execute |
56 | 56 |
public void execute(@Named(IServiceConstants.ACTIVE_SHELL)Shell shell) { |
Also available in: Unified diff
ref #9359 upgrade TaxEditor to log4j2