Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexander Kurtakov2012-06-25 21:42:10 +0000
committerAlexander Kurtakov2012-06-25 21:42:10 +0000
commit50aed60773becd8fe8461820302dcedb8b2b6e24 (patch)
treeedffb743e8b81b3671eb1179d202073748c86de6 /perf/org.eclipse.linuxtools.perf
parentb70f547a0d050f2a907623dc47841f396f254ee6 (diff)
downloadorg.eclipse.linuxtools-50aed60773becd8fe8461820302dcedb8b2b6e24.tar.gz
org.eclipse.linuxtools-50aed60773becd8fe8461820302dcedb8b2b6e24.tar.xz
org.eclipse.linuxtools-50aed60773becd8fe8461820302dcedb8b2b6e24.zip
IOException is not actually thrown.
This is caused by the cleanup of profiling framework to not declare exceptions as thrown when they aren't.
Diffstat (limited to 'perf/org.eclipse.linuxtools.perf')
-rw-r--r--perf/org.eclipse.linuxtools.perf/src/org/eclipse/linuxtools/internal/perf/launch/PerfLaunchConfigDelegate.java11
1 files changed, 4 insertions, 7 deletions
diff --git a/perf/org.eclipse.linuxtools.perf/src/org/eclipse/linuxtools/internal/perf/launch/PerfLaunchConfigDelegate.java b/perf/org.eclipse.linuxtools.perf/src/org/eclipse/linuxtools/internal/perf/launch/PerfLaunchConfigDelegate.java
index 884b92f147..71008fecdd 100644
--- a/perf/org.eclipse.linuxtools.perf/src/org/eclipse/linuxtools/internal/perf/launch/PerfLaunchConfigDelegate.java
+++ b/perf/org.eclipse.linuxtools.perf/src/org/eclipse/linuxtools/internal/perf/launch/PerfLaunchConfigDelegate.java
@@ -22,10 +22,6 @@ package org.eclipse.linuxtools.internal.perf.launch;
import java.io.File;
import java.io.OutputStream;
import java.io.PrintStream;
-
-import org.eclipse.ui.console.*;
-
-import java.io.IOException;
import java.util.ArrayList;
import java.util.Arrays;
@@ -42,6 +38,10 @@ import org.eclipse.debug.ui.IDebugUIConstants;
import org.eclipse.linuxtools.internal.perf.PerfCore;
import org.eclipse.linuxtools.internal.perf.PerfPlugin;
import org.eclipse.linuxtools.profiling.launch.ProfileLaunchConfigurationDelegate;
+import org.eclipse.ui.console.ConsolePlugin;
+import org.eclipse.ui.console.IConsole;
+import org.eclipse.ui.console.IConsoleManager;
+import org.eclipse.ui.console.IOConsole;
public class PerfLaunchConfigDelegate extends ProfileLaunchConfigurationDelegate {
@@ -136,9 +136,6 @@ public class PerfLaunchConfigDelegate extends ProfileLaunchConfigurationDelegate
//(Only for testing this line..) PerfCore.Report(config, null, null, null, "/home/thavidu/dev/eclipse-oprof2-workspace/org.eclipse.linuxtools.internal.perf.tests/resources/perf.data");
PerfCore.Report(config, getEnvironment(config), wd, monitor, null, print);
- } catch (IOException e) {
- // TODO Auto-generated catch block
- e.printStackTrace();
} catch (InterruptedException e) {
// TODO Auto-generated catch block
e.printStackTrace();

Back to the top