diff options
author | Roland Grunberg | 2014-04-14 16:16:37 +0000 |
---|---|---|
committer | Roland Grunberg | 2014-04-15 16:09:41 +0000 |
commit | 1d407b730c57523828ccea2d29b3855e51a8939f (patch) | |
tree | 495f0445229b6de714a14cc7743155c8cd0fe986 /systemtap | |
parent | 30d7747197d1ad0de04d6df18f8edeb934a8e572 (diff) | |
download | org.eclipse.linuxtools-1d407b730c57523828ccea2d29b3855e51a8939f.tar.gz org.eclipse.linuxtools-1d407b730c57523828ccea2d29b3855e51a8939f.tar.xz org.eclipse.linuxtools-1d407b730c57523828ccea2d29b3855e51a8939f.zip |
Fix problems reported by API analysis.
- SystemTap @since tags should be 3.0
- API removals in profiling/valgrind require major version bump
- Remove left over classes in o.e.l.dataviewers.annotatedsourceeditor
Change-Id: I068deaf75c495b8332f2db36a494311d70ef12a5
Reviewed-on: https://git.eclipse.org/r/24989
Tested-by: Hudson CI
Reviewed-by: Roland Grunberg <rgrunber@redhat.com>
Tested-by: Roland Grunberg <rgrunber@redhat.com>
Diffstat (limited to 'systemtap')
4 files changed, 7 insertions, 8 deletions
diff --git a/systemtap/org.eclipse.linuxtools.systemtap.structures/src/org/eclipse/linuxtools/systemtap/structures/UpdateManager.java b/systemtap/org.eclipse.linuxtools.systemtap.structures/src/org/eclipse/linuxtools/systemtap/structures/UpdateManager.java index 1a8fadea6e..d8f9523604 100644 --- a/systemtap/org.eclipse.linuxtools.systemtap.structures/src/org/eclipse/linuxtools/systemtap/structures/UpdateManager.java +++ b/systemtap/org.eclipse.linuxtools.systemtap.structures/src/org/eclipse/linuxtools/systemtap/structures/UpdateManager.java @@ -29,7 +29,7 @@ public class UpdateManager { } /** - * @since 2.2 + * @since 3.0 */ public void restart(int delay) { if (timer != null) { diff --git a/systemtap/org.eclipse.linuxtools.systemtap.structures/src/org/eclipse/linuxtools/systemtap/structures/process/SystemTapRuntimeProcessFactory.java b/systemtap/org.eclipse.linuxtools.systemtap.structures/src/org/eclipse/linuxtools/systemtap/structures/process/SystemTapRuntimeProcessFactory.java index 823ec25926..d0688cb9e1 100644 --- a/systemtap/org.eclipse.linuxtools.systemtap.structures/src/org/eclipse/linuxtools/systemtap/structures/process/SystemTapRuntimeProcessFactory.java +++ b/systemtap/org.eclipse.linuxtools.systemtap.structures/src/org/eclipse/linuxtools/systemtap/structures/process/SystemTapRuntimeProcessFactory.java @@ -9,7 +9,7 @@ import org.eclipse.debug.core.model.IStreamsProxy; import org.eclipse.debug.core.model.RuntimeProcess; /** - * @since 2.2 + * @since 3.0 */ public class SystemTapRuntimeProcessFactory implements IProcessFactory { @@ -42,8 +42,7 @@ public class SystemTapRuntimeProcessFactory implements IProcessFactory { @Override public IProcess newProcess(ILaunch launch, Process process, String label, - Map<String, String> attributes) { - + Map attributes) { return new SystemTapRuntimeProcess(launch, process, label, attributes); } diff --git a/systemtap/org.eclipse.linuxtools.systemtap.structures/src/org/eclipse/linuxtools/systemtap/structures/runnable/Command.java b/systemtap/org.eclipse.linuxtools.systemtap.structures/src/org/eclipse/linuxtools/systemtap/structures/runnable/Command.java index de52964f48..8fa9bc2386 100644 --- a/systemtap/org.eclipse.linuxtools.systemtap.structures/src/org/eclipse/linuxtools/systemtap/structures/runnable/Command.java +++ b/systemtap/org.eclipse.linuxtools.systemtap.structures/src/org/eclipse/linuxtools/systemtap/structures/runnable/Command.java @@ -220,7 +220,7 @@ public class Command implements Runnable { * Method to check whether or not the process has began to run. * @return <code>false</code> before the process begins to run or * if initialization of the process has failed; <code>true</code> otherwise. - * @since 2.2 + * @since 3.0 */ public boolean hasStarted() { return started; @@ -331,7 +331,7 @@ public class Command implements Runnable { /** * @return The process of this command. - * @since 2.2 + * @since 3.0 */ public Process getProcess() { return process; diff --git a/systemtap/org.eclipse.linuxtools.systemtap.ui.editor/src/org/eclipse/linuxtools/systemtap/ui/editor/actions/file/OpenFileAction.java b/systemtap/org.eclipse.linuxtools.systemtap.ui.editor/src/org/eclipse/linuxtools/systemtap/ui/editor/actions/file/OpenFileAction.java index f2a8791180..887f2a375e 100644 --- a/systemtap/org.eclipse.linuxtools.systemtap.ui.editor/src/org/eclipse/linuxtools/systemtap/ui/editor/actions/file/OpenFileAction.java +++ b/systemtap/org.eclipse.linuxtools.systemtap.ui.editor/src/org/eclipse/linuxtools/systemtap/ui/editor/actions/file/OpenFileAction.java @@ -94,7 +94,7 @@ public class OpenFileAction extends Action implements IWorkbenchWindowActionDele /** * @return The style to use for the FileDialog when querying for a file. - * @since 2.2 + * @since 3.0 */ protected int dialogStyle() { return SWT.OPEN; @@ -102,7 +102,7 @@ public class OpenFileAction extends Action implements IWorkbenchWindowActionDele /** * @return The name to give to the FileDialog when querying for a file. - * @since 2.2 + * @since 3.0 */ protected String dialogName() { return Localization.getString("OpenFileAction.OpenFile"); //$NON-NLS-1$ |