Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEike Stepper2011-09-22 14:45:22 +0000
committerEike Stepper2011-09-22 14:45:22 +0000
commit673e12ab53e80cf9333424089a2c25b959b8e060 (patch)
treefd2daaddd8e5dad5c3dc5542429b6cc7a923e9ad /plugins/org.eclipse.net4j.tests
parent57fa6cd6d5f37cc8541e472ad2f718384682af65 (diff)
downloadcdo-673e12ab53e80cf9333424089a2c25b959b8e060.tar.gz
cdo-673e12ab53e80cf9333424089a2c25b959b8e060.tar.xz
cdo-673e12ab53e80cf9333424089a2c25b959b8e060.zip
[358552] Use FastList for listener lists and do not exclude duplicate listener elements
https://bugs.eclipse.org/bugs/show_bug.cgi?id=358552
Diffstat (limited to 'plugins/org.eclipse.net4j.tests')
-rw-r--r--plugins/org.eclipse.net4j.tests/src/org/eclipse/net4j/util/tests/AbstractOMTest.java3
-rw-r--r--plugins/org.eclipse.net4j.tests/src/org/eclipse/net4j/util/tests/FastListTest.java4
2 files changed, 5 insertions, 2 deletions
diff --git a/plugins/org.eclipse.net4j.tests/src/org/eclipse/net4j/util/tests/AbstractOMTest.java b/plugins/org.eclipse.net4j.tests/src/org/eclipse/net4j/util/tests/AbstractOMTest.java
index ef16ca1702..b410756898 100644
--- a/plugins/org.eclipse.net4j.tests/src/org/eclipse/net4j/util/tests/AbstractOMTest.java
+++ b/plugins/org.eclipse.net4j.tests/src/org/eclipse/net4j/util/tests/AbstractOMTest.java
@@ -172,6 +172,9 @@ public abstract class AbstractOMTest extends TestCase
@Override
public void tearDown() throws Exception
{
+ OMPlatform platform = OMPlatform.INSTANCE;
+ System.out.println(platform);
+
enableConsole();
if (!SUPPRESS_OUTPUT)
{
diff --git a/plugins/org.eclipse.net4j.tests/src/org/eclipse/net4j/util/tests/FastListTest.java b/plugins/org.eclipse.net4j.tests/src/org/eclipse/net4j/util/tests/FastListTest.java
index 9b7ad42f7c..0f7f24d9f7 100644
--- a/plugins/org.eclipse.net4j.tests/src/org/eclipse/net4j/util/tests/FastListTest.java
+++ b/plugins/org.eclipse.net4j.tests/src/org/eclipse/net4j/util/tests/FastListTest.java
@@ -11,7 +11,7 @@
*/
package org.eclipse.net4j.util.tests;
-import org.eclipse.net4j.util.collection.FastList;
+import org.eclipse.net4j.util.collection.ConcurrentArray;
/**
* @author Eike Stepper
@@ -251,7 +251,7 @@ public class FastListTest extends AbstractOMTest
/**
* @author Eike Stepper
*/
- public static class TestList extends FastList<Integer>
+ public static class TestList extends ConcurrentArray<Integer>
{
public int added;

Back to the top