Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexander Kurtakov2021-09-09 05:30:08 +0000
committerMickael Istria2021-09-09 07:34:04 +0000
commita3afb05623cbea55dfe6836ca57afa7620072c5b (patch)
tree69a601bbff0477de729613d295384665892928b2
parent02c570603b1f55540271889044ef1ee8c9f9da1c (diff)
downloadeclipse.platform.text-a3afb05623cbea55dfe6836ca57afa7620072c5b.tar.gz
eclipse.platform.text-a3afb05623cbea55dfe6836ca57afa7620072c5b.tar.xz
eclipse.platform.text-a3afb05623cbea55dfe6836ca57afa7620072c5b.zip
Bug 466532 - Fix warning in I-build
Change-Id: I8cdfae6c522a5677b4a07498fc5b7815a3d5566d Reviewed-on: https://git.eclipse.org/r/c/platform/eclipse.platform.text/+/185191 Tested-by: Platform Bot <platform-bot@eclipse.org> Reviewed-by: Mickael Istria <mistria@redhat.com>
-rw-r--r--org.eclipse.ui.workbench.texteditor/src/org/eclipse/ui/texteditor/AbstractTextEditor.java3
1 files changed, 1 insertions, 2 deletions
diff --git a/org.eclipse.ui.workbench.texteditor/src/org/eclipse/ui/texteditor/AbstractTextEditor.java b/org.eclipse.ui.workbench.texteditor/src/org/eclipse/ui/texteditor/AbstractTextEditor.java
index 01641869670..19710348a06 100644
--- a/org.eclipse.ui.workbench.texteditor/src/org/eclipse/ui/texteditor/AbstractTextEditor.java
+++ b/org.eclipse.ui.workbench.texteditor/src/org/eclipse/ui/texteditor/AbstractTextEditor.java
@@ -1,5 +1,5 @@
/*******************************************************************************
- * Copyright (c) 2000, 2019 IBM Corporation and others.
+ * Copyright (c) 2000, 2021 IBM Corporation and others.
*
* This program and the accompanying materials
* are made available under the terms of the Eclipse Public License 2.0
@@ -1341,7 +1341,6 @@ public abstract class AbstractTextEditor extends EditorPart implements ITextEdit
} catch (BadLocationException ex) {
return;
}
- int lineEndOffset = lineOffset + lineLength;
String line = ""; //$NON-NLS-1$
if (lineLength > 0) {

Back to the top