Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorUwe Stieber2014-01-28 04:27:20 -0500
committerUwe Stieber2014-01-28 04:27:20 -0500
commite9b347c1e90aa14470941279c7f273ff265854db (patch)
treeaebd75c41d26e2a44e11433e1b87f2f1b470cb21
parentea4582ecb6dc437dd6f64c27a1acea54abe8776b (diff)
downloadorg.eclipse.tcf-e9b347c1e90aa14470941279c7f273ff265854db.tar.gz
org.eclipse.tcf-e9b347c1e90aa14470941279c7f273ff265854db.tar.xz
org.eclipse.tcf-e9b347c1e90aa14470941279c7f273ff265854db.zip
Tests: Fix findbugs warnings
-rw-r--r--admin/findbugs-exclude.xml1
-rw-r--r--target_explorer/plugins/org.eclipse.tcf.te.tests/src/org/eclipse/tcf/te/tests/concurrent/ConcurrentTestCase.java5
2 files changed, 5 insertions, 1 deletions
diff --git a/admin/findbugs-exclude.xml b/admin/findbugs-exclude.xml
index 1702bf1d8..87a082aca 100644
--- a/admin/findbugs-exclude.xml
+++ b/admin/findbugs-exclude.xml
@@ -234,6 +234,7 @@
<Or>
<Class name="org.eclipse.tcf.te.tcf.filesystem.ui.internal.columns.FileExtBasedImageUpdater"/>
<Class name="~org\.eclipse\.tcf\.te\.tcf\.filesystem\.ui\.internal\.handlers\.OpenFileHandler.*"/>
+ <Package name="~org\.eclipse\.tcf\.te\.tests\..*"/>
</Or>
</Match>
diff --git a/target_explorer/plugins/org.eclipse.tcf.te.tests/src/org/eclipse/tcf/te/tests/concurrent/ConcurrentTestCase.java b/target_explorer/plugins/org.eclipse.tcf.te.tests/src/org/eclipse/tcf/te/tests/concurrent/ConcurrentTestCase.java
index c9dd495ab..98a4f8202 100644
--- a/target_explorer/plugins/org.eclipse.tcf.te.tests/src/org/eclipse/tcf/te/tests/concurrent/ConcurrentTestCase.java
+++ b/target_explorer/plugins/org.eclipse.tcf.te.tests/src/org/eclipse/tcf/te/tests/concurrent/ConcurrentTestCase.java
@@ -281,7 +281,10 @@ public class ConcurrentTestCase extends CoreTestCase {
assertNotNull("Failed to instanciate and to initialize the test executor service implementation!", service); //$NON-NLS-1$
// Invoke each method now
- service.execute(null);
+ service.execute(new Runnable() {
+ @Override
+ public void run() {}
+ });
service.submit((Callable<?>)null);
service.submit((Runnable)null);
service.submit(null, null);

Back to the top