diff options
author | Alexander Kurtakov | 2014-01-27 07:32:19 +0000 |
---|---|---|
committer | Alexander Kurtakov | 2014-01-27 08:17:35 +0000 |
commit | a31e417279d049486788169fb1783e1a23f445b5 (patch) | |
tree | de5f5cb2033468d36f76beea1645cfecc1ff95fb /oprofile | |
parent | 80c353c4aaa90074700012a1d07de41df4f723af (diff) | |
download | org.eclipse.linuxtools-a31e417279d049486788169fb1783e1a23f445b5.tar.gz org.eclipse.linuxtools-a31e417279d049486788169fb1783e1a23f445b5.tar.xz org.eclipse.linuxtools-a31e417279d049486788169fb1783e1a23f445b5.zip |
Remove unused imports.
Some of the imports are for javadoc but it's better to use fully
qualified class name in the javadoc instead of introducing runtime
dependency which is entirely useless.
Also enable save actions to auto remove unused imports.
Change-Id: Ib4101a4dc71808bda393204b2af546681ec1cb70
Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
Reviewed-on: https://git.eclipse.org/r/21115
Tested-by: Hudson CI
Diffstat (limited to 'oprofile')
2 files changed, 1 insertions, 22 deletions
diff --git a/oprofile/org.eclipse.linuxtools.oprofile.core/src/org/eclipse/linuxtools/internal/oprofile/core/linux/OpxmlRunner.java b/oprofile/org.eclipse.linuxtools.oprofile.core/src/org/eclipse/linuxtools/internal/oprofile/core/linux/OpxmlRunner.java index b328efe286..28c07771bf 100644 --- a/oprofile/org.eclipse.linuxtools.oprofile.core/src/org/eclipse/linuxtools/internal/oprofile/core/linux/OpxmlRunner.java +++ b/oprofile/org.eclipse.linuxtools.oprofile.core/src/org/eclipse/linuxtools/internal/oprofile/core/linux/OpxmlRunner.java @@ -32,10 +32,9 @@ import javax.xml.parsers.SAXParserFactory; import org.eclipse.core.runtime.IPath; import org.eclipse.core.runtime.IStatus; import org.eclipse.linuxtools.internal.oprofile.core.Oprofile; +import org.eclipse.linuxtools.internal.oprofile.core.Oprofile.OprofileProject; import org.eclipse.linuxtools.internal.oprofile.core.OprofileCorePlugin; import org.eclipse.linuxtools.internal.oprofile.core.OprofileProperties; -import org.eclipse.linuxtools.internal.oprofile.core.OpxmlException; -import org.eclipse.linuxtools.internal.oprofile.core.Oprofile.OprofileProject; import org.eclipse.linuxtools.internal.oprofile.core.opxml.AbstractDataAdapter; import org.eclipse.linuxtools.internal.oprofile.core.opxml.OprofileSAXHandler; import org.eclipse.linuxtools.internal.oprofile.core.opxml.XMLProcessor; @@ -75,7 +74,6 @@ public class OpxmlRunner { * @param args the arguments to pass to opxml * @param callData any callData to pass to the processor * @return boolean indicating the success/failure of opxml - * @throws OpxmlException */ public boolean run(String[] args, Object callData) { XMLReader reader = null; diff --git a/oprofile/org.eclipse.linuxtools.oprofile.launch/src/org/eclipse/linuxtools/internal/oprofile/launch/configuration/AbstractEventConfigTab.java b/oprofile/org.eclipse.linuxtools.oprofile.launch/src/org/eclipse/linuxtools/internal/oprofile/launch/configuration/AbstractEventConfigTab.java index 5161afa2fb..d282142638 100644 --- a/oprofile/org.eclipse.linuxtools.oprofile.launch/src/org/eclipse/linuxtools/internal/oprofile/launch/configuration/AbstractEventConfigTab.java +++ b/oprofile/org.eclipse.linuxtools.oprofile.launch/src/org/eclipse/linuxtools/internal/oprofile/launch/configuration/AbstractEventConfigTab.java @@ -20,7 +20,6 @@ import org.eclipse.core.runtime.CoreException; import org.eclipse.debug.core.ILaunchConfiguration; import org.eclipse.debug.core.ILaunchConfigurationWorkingCopy; import org.eclipse.debug.ui.AbstractLaunchConfigurationTab; -import org.eclipse.debug.ui.ILaunchConfigurationTab; import org.eclipse.jface.viewers.ILabelProvider; import org.eclipse.jface.viewers.ILabelProviderListener; import org.eclipse.jface.viewers.ISelectionChangedListener; @@ -116,9 +115,6 @@ AbstractLaunchConfigurationTab { } } - /** - * @see ILaunchConfigurationTab#initializeFrom(ILaunchConfiguration) - */ @Override public void initializeFrom(ILaunchConfiguration config) { @@ -193,9 +189,6 @@ AbstractLaunchConfigurationTab { } } - /** - * @see ILaunchConfigurationTab#isValid(ILaunchConfiguration) - */ @Override public boolean isValid(ILaunchConfiguration config) { IProject project = getProject(config); @@ -269,9 +262,6 @@ AbstractLaunchConfigurationTab { return (numEnabledEvents > 0 && valid); } - /** - * @see ILaunchConfigurationTab#performApply(ILaunchConfigurationWorkingCopy) - */ @Override public void performApply(ILaunchConfigurationWorkingCopy config) { if (getOprofileTimerMode() || counterSubTabs == null) { @@ -284,9 +274,6 @@ AbstractLaunchConfigurationTab { } } - /** - * @see ILaunchConfigurationTab#setDefaults(ILaunchConfigurationWorkingCopy) - */ @Override public void setDefaults(ILaunchConfigurationWorkingCopy config) { boolean useDefault = true; @@ -306,17 +293,11 @@ AbstractLaunchConfigurationTab { config.setAttribute(OprofileLaunchPlugin.ATTR_USE_DEFAULT_EVENT, useDefault); } - /** - * @see ILaunchConfigurationTab#getName() - */ @Override public String getName() { return OprofileLaunchMessages.getString("tab.event.name"); //$NON-NLS-1$ } - /** - * @see ILaunchConfigurationTab#getImage() - */ @Override public Image getImage() { return OprofileLaunchPlugin.getImageDescriptor(OprofileLaunchPlugin.ICON_EVENT_TAB).createImage(); |