Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexander Kurtakov2018-02-01 10:00:12 +0000
committerAlexander Kurtakov2018-02-01 10:41:32 +0000
commit506feabf902d099db8732cfa58f193c93166433e (patch)
tree8caeceebca437dffd8c2b28d99e0ba45b039f348
parente38502316faa4a3748869af4769e4edb24352e73 (diff)
downloadeclipse.platform.text-506feabf902d099db8732cfa58f193c93166433e.tar.gz
eclipse.platform.text-506feabf902d099db8732cfa58f193c93166433e.tar.xz
eclipse.platform.text-506feabf902d099db8732cfa58f193c93166433e.zip
528344 - [Generic Editor] Default highlighter patterns are brokenI20180204-2000I20180203-1500I20180202-2000I20180202-0315I20180201-2325I20180201-2000
Fix warning in the test. Change-Id: I39229664aa0298b759bae79144397456972a36bb Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
-rw-r--r--org.eclipse.ui.genericeditor.tests/src/org/eclipse/ui/genericeditor/tests/HighlightTest.java4
1 files changed, 1 insertions, 3 deletions
diff --git a/org.eclipse.ui.genericeditor.tests/src/org/eclipse/ui/genericeditor/tests/HighlightTest.java b/org.eclipse.ui.genericeditor.tests/src/org/eclipse/ui/genericeditor/tests/HighlightTest.java
index 4d2c3657118..802640626a8 100644
--- a/org.eclipse.ui.genericeditor.tests/src/org/eclipse/ui/genericeditor/tests/HighlightTest.java
+++ b/org.eclipse.ui.genericeditor.tests/src/org/eclipse/ui/genericeditor/tests/HighlightTest.java
@@ -1,5 +1,5 @@
/*******************************************************************************
- * Copyright (c) 2017 Red Hat Inc. and others.
+ * Copyright (c) 2017, 2018 Red Hat Inc. and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
@@ -126,8 +126,6 @@ public class HighlightTest extends AbstratGenericEditorTest {
private void waitForAnnotations(int count) {
new DisplayHelper() {
- final IAnnotationModel annotationModel= getAnnotationModel();
-
@Override
protected boolean condition() {
return getAnnotationsFromAnnotationModel().size() == count;

Back to the top