commit | a3afb05623cbea55dfe6836ca57afa7620072c5b | [log] [tgz] |
---|---|---|
author | Alexander Kurtakov <akurtako@redhat.com> | Thu Sep 09 08:30:08 2021 +0300 |
committer | Mickael Istria <mistria@redhat.com> | Thu Sep 09 03:34:04 2021 -0400 |
tree | 69a601bbff0477de729613d295384665892928b2 | |
parent | 02c570603b1f55540271889044ef1ee8c9f9da1c [diff] |
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>
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 0164186..1971034 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 @@ } catch (BadLocationException ex) { return; } - int lineEndOffset = lineOffset + lineLength; String line = ""; //$NON-NLS-1$ if (lineLength > 0) {