Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexander Kurtakov2019-02-18 17:04:03 +0000
committerAlexander Kurtakov2019-02-18 17:04:03 +0000
commitd8465927bb45d638e37ad9a107dee5c4ee44399b (patch)
treead8c7b8e4db893d909ca1532cffd584dfe249471 /org.eclipse.text
parenta11559061cad795991a3cedf2b5865928b37b77c (diff)
downloadeclipse.platform.text-d8465927bb45d638e37ad9a107dee5c4ee44399b.tar.gz
eclipse.platform.text-d8465927bb45d638e37ad9a107dee5c4ee44399b.tar.xz
eclipse.platform.text-d8465927bb45d638e37ad9a107dee5c4ee44399b.zip
Bug 543933 - Build javadocs with Java 11
Fix javadoc warnings catched by Java 11 tool with XDoclint:syntax. Change-Id: I853d804bf9d86ee16c5876478e4e40962c68d4f8 Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
Diffstat (limited to 'org.eclipse.text')
-rw-r--r--org.eclipse.text/src/org/eclipse/jface/text/AbstractDocument.java4
-rw-r--r--org.eclipse.text/src/org/eclipse/jface/text/AbstractLineTracker.java12
2 files changed, 8 insertions, 8 deletions
diff --git a/org.eclipse.text/src/org/eclipse/jface/text/AbstractDocument.java b/org.eclipse.text/src/org/eclipse/jface/text/AbstractDocument.java
index 8767a676f82..00bfb436589 100644
--- a/org.eclipse.text/src/org/eclipse/jface/text/AbstractDocument.java
+++ b/org.eclipse.text/src/org/eclipse/jface/text/AbstractDocument.java
@@ -1588,8 +1588,8 @@ public abstract class AbstractDocument implements IDocument, IDocumentExtension,
* Returns all positions of the given category that are inside the given region.
*
* @param category the position category
- * @param offset the start position of the region, must be >= 0
- * @param length the length of the region, must be >= 0
+ * @param offset the start position of the region, must be &gt;= 0
+ * @param length the length of the region, must be &gt;= 0
* @param canStartBefore if <code>true</code> then positions are included
* which start before the region if they end at or after the regions start
* @param canEndAfter if <code>true</code> then positions are included
diff --git a/org.eclipse.text/src/org/eclipse/jface/text/AbstractLineTracker.java b/org.eclipse.text/src/org/eclipse/jface/text/AbstractLineTracker.java
index d62e6c86913..88e3ecc6571 100644
--- a/org.eclipse.text/src/org/eclipse/jface/text/AbstractLineTracker.java
+++ b/org.eclipse.text/src/org/eclipse/jface/text/AbstractLineTracker.java
@@ -22,12 +22,12 @@ import java.util.List;
* delimiters to subclasses. Assuming that '\n' is the only line delimiter, this abstract
* implementation defines the following line scheme:
* <ul>
- * <li> "" -> [0,0]
- * <li> "a" -> [0,1]
- * <li> "\n" -> [0,1], [1,0]
- * <li> "a\n" -> [0,2], [2,0]
- * <li> "a\nb" -> [0,2], [2,1]
- * <li> "a\nbc\n" -> [0,2], [2,3], [5,0]
+ * <li> "" -&gt; [0,0]
+ * <li> "a" -&gt; [0,1]
+ * <li> "\n" -&gt; [0,1], [1,0]
+ * <li> "a\n" -&gt; [0,2], [2,0]
+ * <li> "a\nb" -&gt; [0,2], [2,1]
+ * <li> "a\nbc\n" -&gt; [0,2], [2,3], [5,0]
* </ul>
* <p>
* This class must be subclassed.

Back to the top