Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDani Megert2019-04-30 05:07:17 -0400
committerDani Megert2019-04-30 05:07:17 -0400
commit1a653bc834f51a8a5a28fe89bd5ea0ac42c29a46 (patch)
tree5fffee0eda1eb788f6f4b81bb750dcc9d8d0ec7d
parentb26b8782569616fcace8dcbd47a61c13ae694513 (diff)
downloadeclipse.platform.text-1a653bc834f51a8a5a28fe89bd5ea0ac42c29a46.tar.gz
eclipse.platform.text-1a653bc834f51a8a5a28fe89bd5ea0ac42c29a46.tar.xz
eclipse.platform.text-1a653bc834f51a8a5a28fe89bd5ea0ac42c29a46.zip
Fixed compile warning introduced by bug 546706I20190501-1800I20190501-0525I20190430-1800
-rw-r--r--org.eclipse.jface.text.tests/src/org/eclipse/jface/text/tests/codemining/CodeMiningTest.java2
1 files changed, 0 insertions, 2 deletions
diff --git a/org.eclipse.jface.text.tests/src/org/eclipse/jface/text/tests/codemining/CodeMiningTest.java b/org.eclipse.jface.text.tests/src/org/eclipse/jface/text/tests/codemining/CodeMiningTest.java
index dbb7c0962..d0cb79141 100644
--- a/org.eclipse.jface.text.tests/src/org/eclipse/jface/text/tests/codemining/CodeMiningTest.java
+++ b/org.eclipse.jface.text.tests/src/org/eclipse/jface/text/tests/codemining/CodeMiningTest.java
@@ -61,7 +61,6 @@ public class CodeMiningTest {
private SourceViewer fViewer;
private Shell fShell;
- private int defaultCharWidth;
@Rule public ScreenshotOnFailureRule rule = new ScreenshotOnFailureRule();
@@ -73,7 +72,6 @@ public class CodeMiningTest {
fViewer= new SourceViewer(fShell, null, SWT.NONE);
final StyledText textWidget= fViewer.getTextWidget();
textWidget.setText("a");
- defaultCharWidth = textWidget.getTextBounds(0, 0).width;
textWidget.setText("");
MonoReconciler reconciler = new MonoReconciler(new IReconcilingStrategy() {
@Override

Back to the top