Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexander Kurtakov2013-01-03 23:43:07 +0000
committerXavier Raynaud2013-01-04 08:46:27 +0000
commitb865679e4063aa5ea5fd302467e1fb13936a495b (patch)
tree3bf0f10b4c793a6c81e4677df6bcba92512e0d43 /gcov/org.eclipse.linuxtools.gcov.launch
parent02ffd39e396cdf507c0d4875491c4f7993d12a24 (diff)
downloadorg.eclipse.linuxtools-b865679e4063aa5ea5fd302467e1fb13936a495b.tar.gz
org.eclipse.linuxtools-b865679e4063aa5ea5fd302467e1fb13936a495b.tar.xz
org.eclipse.linuxtools-b865679e4063aa5ea5fd302467e1fb13936a495b.zip
GCov.launch warning fixes.
Change-Id: I6318c9346dafc8d7472827a79cec401023b4a28c Reviewed-on: https://git.eclipse.org/r/9441 Tested-by: Hudson CI Reviewed-by: Xavier Raynaud <xavier.raynaud@kalray.eu> IP-Clean: Xavier Raynaud <xavier.raynaud@kalray.eu> Tested-by: Xavier Raynaud <xavier.raynaud@kalray.eu>
Diffstat (limited to 'gcov/org.eclipse.linuxtools.gcov.launch')
-rw-r--r--gcov/org.eclipse.linuxtools.gcov.launch/src/org/eclipse/linuxtools/internal/gcov/launch/GcovLaunchConfigurationDelegate.java7
-rw-r--r--gcov/org.eclipse.linuxtools.gcov.launch/src/org/eclipse/linuxtools/internal/gcov/launch/GcovLaunchMessages.java2
-rw-r--r--gcov/org.eclipse.linuxtools.gcov.launch/src/org/eclipse/linuxtools/internal/gcov/launch/GcovLaunchShortcut.java3
3 files changed, 8 insertions, 4 deletions
diff --git a/gcov/org.eclipse.linuxtools.gcov.launch/src/org/eclipse/linuxtools/internal/gcov/launch/GcovLaunchConfigurationDelegate.java b/gcov/org.eclipse.linuxtools.gcov.launch/src/org/eclipse/linuxtools/internal/gcov/launch/GcovLaunchConfigurationDelegate.java
index fbf8fbed32..24244b7947 100644
--- a/gcov/org.eclipse.linuxtools.gcov.launch/src/org/eclipse/linuxtools/internal/gcov/launch/GcovLaunchConfigurationDelegate.java
+++ b/gcov/org.eclipse.linuxtools.gcov.launch/src/org/eclipse/linuxtools/internal/gcov/launch/GcovLaunchConfigurationDelegate.java
@@ -78,6 +78,7 @@ public class GcovLaunchConfigurationDelegate extends ProfileLaunchConfigurationD
launch = il;
this.exePath = exePath;
}
+ @Override
public void launchesTerminated(ILaunch[] launches) {
for (ILaunch l : launches) {
@@ -91,6 +92,7 @@ public class GcovLaunchConfigurationDelegate extends ProfileLaunchConfigurationD
//need to run this in the ui thread otherwise get SWT Exceptions
// based on concurrency issues
Display.getDefault().syncExec(new Runnable() {
+ @Override
public void run() {
String s = exePath.toOSString();
CovManager cvrgeMnger = new CovManager(s, getProject());
@@ -113,8 +115,11 @@ public class GcovLaunchConfigurationDelegate extends ProfileLaunchConfigurationD
}
}
+ @Override
public void launchesAdded(ILaunch[] launches) { /* dont care */}
+ @Override
public void launchesChanged(ILaunch[] launches) { /* dont care */ }
+ @Override
public void launchesRemoved(ILaunch[] launches) { /* dont care */ }
}
@@ -151,6 +156,6 @@ public class GcovLaunchConfigurationDelegate extends ProfileLaunchConfigurationD
@Override
public String generateCommand(ILaunchConfiguration config) {
- return "";
+ return ""; //$NON-NLS-1$
}
}
diff --git a/gcov/org.eclipse.linuxtools.gcov.launch/src/org/eclipse/linuxtools/internal/gcov/launch/GcovLaunchMessages.java b/gcov/org.eclipse.linuxtools.gcov.launch/src/org/eclipse/linuxtools/internal/gcov/launch/GcovLaunchMessages.java
index d3ee323154..16537adcf9 100644
--- a/gcov/org.eclipse.linuxtools.gcov.launch/src/org/eclipse/linuxtools/internal/gcov/launch/GcovLaunchMessages.java
+++ b/gcov/org.eclipse.linuxtools.gcov.launch/src/org/eclipse/linuxtools/internal/gcov/launch/GcovLaunchMessages.java
@@ -15,7 +15,7 @@ import org.eclipse.osgi.util.NLS;
public class GcovLaunchMessages extends NLS {
public static String GcovCompilerOptions_msg;
- public static String GcovCompileAgain_msg;;
+ public static String GcovCompileAgain_msg;
static {
NLS.initializeMessages(GcovLaunchMessages.class.getName(), GcovLaunchMessages.class);
diff --git a/gcov/org.eclipse.linuxtools.gcov.launch/src/org/eclipse/linuxtools/internal/gcov/launch/GcovLaunchShortcut.java b/gcov/org.eclipse.linuxtools.gcov.launch/src/org/eclipse/linuxtools/internal/gcov/launch/GcovLaunchShortcut.java
index 00827015c8..6f9531cecc 100644
--- a/gcov/org.eclipse.linuxtools.gcov.launch/src/org/eclipse/linuxtools/internal/gcov/launch/GcovLaunchShortcut.java
+++ b/gcov/org.eclipse.linuxtools.gcov.launch/src/org/eclipse/linuxtools/internal/gcov/launch/GcovLaunchShortcut.java
@@ -11,7 +11,6 @@
*******************************************************************************/
package org.eclipse.linuxtools.internal.gcov.launch;
-import org.eclipse.core.runtime.CoreException;
import org.eclipse.debug.core.ILaunchConfigurationType;
import org.eclipse.debug.core.ILaunchConfigurationWorkingCopy;
import org.eclipse.linuxtools.gcov.launch.GcovLaunchPlugin;
@@ -22,7 +21,7 @@ public class GcovLaunchShortcut extends ProfileLaunchShortcut {
@Override
protected void setDefaultProfileAttributes(
- ILaunchConfigurationWorkingCopy wc) throws CoreException {
+ ILaunchConfigurationWorkingCopy wc) {
}
/**

Back to the top