Skip to main content
aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorLeo Ufimtsev2018-05-31 19:06:32 +0000
committerLeo Ufimtsev2018-05-31 19:06:32 +0000
commitd1ae9d5a85e003cffb7a66faf38f1e08ab122f7a (patch)
tree8beda2ade0d850250340db22aade7bcea479b49e /tests
parentd6d2b15d823c3521abaadd897b67c2f86b24052f (diff)
downloadeclipse.platform.swt-d1ae9d5a85e003cffb7a66faf38f1e08ab122f7a.tar.gz
eclipse.platform.swt-d1ae9d5a85e003cffb7a66faf38f1e08ab122f7a.tar.xz
eclipse.platform.swt-d1ae9d5a85e003cffb7a66faf38f1e08ab122f7a.zip
Bug 489640 [GTK3] setting a lot of items to combobox is extremely slowI20180531-2000
(on gtk_combo_box_text_insert) Fix warning in test. Bug: https://bugs.eclipse.org/bugs/show_bug.cgi?id=4896403 Change-Id: I59d06552c3fb3d4ce479fd411cdcf403432ce530 Signed-off-by: Leo Ufimtsev <lufimtse@redhat.com>
Diffstat (limited to 'tests')
-rw-r--r--tests/org.eclipse.swt.tests.gtk/ManualTests/org/eclipse/swt/tests/gtk/snippets/Bug489640_ComboPerformanceTest.java1
1 files changed, 0 insertions, 1 deletions
diff --git a/tests/org.eclipse.swt.tests.gtk/ManualTests/org/eclipse/swt/tests/gtk/snippets/Bug489640_ComboPerformanceTest.java b/tests/org.eclipse.swt.tests.gtk/ManualTests/org/eclipse/swt/tests/gtk/snippets/Bug489640_ComboPerformanceTest.java
index 6d09b91656..937c8d83b1 100644
--- a/tests/org.eclipse.swt.tests.gtk/ManualTests/org/eclipse/swt/tests/gtk/snippets/Bug489640_ComboPerformanceTest.java
+++ b/tests/org.eclipse.swt.tests.gtk/ManualTests/org/eclipse/swt/tests/gtk/snippets/Bug489640_ComboPerformanceTest.java
@@ -63,7 +63,6 @@ public class Bug489640_ComboPerformanceTest {
final long start = System.currentTimeMillis();
int count = 200;
- final String[] items = new String[count];
for (int i = 0; i < count; i++) {
combo.add("item " + i); // <<< via add.
}

Back to the top