diff options
author | Lars Vogel | 2019-02-11 09:49:33 +0000 |
---|---|---|
committer | Lars Vogel | 2019-02-11 09:49:33 +0000 |
commit | 71c0951a5f48d382680c6d89cf518c3c23ccf3ad (patch) | |
tree | b582525b51875c84c44c78a6fd59f1204753a9a8 /bundles | |
parent | 0e4e7ca61650a2b3980ce31265f542c00b457fc4 (diff) | |
download | eclipse.platform.ui.tools-71c0951a5f48d382680c6d89cf518c3c23ccf3ad.tar.gz eclipse.platform.ui.tools-71c0951a5f48d382680c6d89cf518c3c23ccf3ad.tar.xz eclipse.platform.ui.tools-71c0951a5f48d382680c6d89cf518c3c23ccf3ad.zip |
Remove unused log methods in activator for org.eclipse.e4.tools
Change-Id: I75e256ba35cae643008de86d86023317750a23fd
Signed-off-by: Lars Vogel <Lars.Vogel@vogella.com>
Diffstat (limited to 'bundles')
-rw-r--r-- | bundles/org.eclipse.e4.tools/src/org/eclipse/e4/internal/tools/ToolsPlugin.java | 37 |
1 files changed, 0 insertions, 37 deletions
diff --git a/bundles/org.eclipse.e4.tools/src/org/eclipse/e4/internal/tools/ToolsPlugin.java b/bundles/org.eclipse.e4.tools/src/org/eclipse/e4/internal/tools/ToolsPlugin.java index 9e98d249..af99f7b9 100644 --- a/bundles/org.eclipse.e4.tools/src/org/eclipse/e4/internal/tools/ToolsPlugin.java +++ b/bundles/org.eclipse.e4.tools/src/org/eclipse/e4/internal/tools/ToolsPlugin.java @@ -1,8 +1,5 @@ package org.eclipse.e4.internal.tools; -import org.eclipse.core.runtime.IStatus; -import org.eclipse.core.runtime.Status; -import org.eclipse.emf.common.util.ResourceLocator; import org.eclipse.ui.plugin.AbstractUIPlugin; import org.osgi.framework.BundleContext; @@ -12,8 +9,6 @@ public class ToolsPlugin extends AbstractUIPlugin { private static ToolsPlugin plugin; - private ResourceLocator resourceLocator; - @Override public void start(BundleContext context) throws Exception { super.start(context); @@ -35,36 +30,4 @@ public class ToolsPlugin extends AbstractUIPlugin { return plugin; } - public static void log(IStatus status, int nesting, boolean appendLogger) { - getDefault().getLog().log(status); - } - - /** - * Log Throwable Error - */ - public static void logError(Throwable t) { - logError(t, 0, true); - } - - public static void logError(Throwable t, boolean appendLogger) { - logError(t, 0, appendLogger); - } - - public static void logError(Throwable t, int nesting) { - logError(t, nesting, true); - } - - public static void logError(Throwable t, int nesting, boolean appendLogger) { - log(newStatus(IStatus.ERROR, t.getMessage(), t), nesting, appendLogger); - } - - /** - * Create an IStatus - * - * @return a new IStatus - */ - public static IStatus newStatus(int severity, String message, - Throwable exception) { - return new Status(severity, PLUGIN_ID, 0, message, exception); - } } |