Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexander Kurtakov2019-02-13 05:30:34 -0500
committerAlexander Kurtakov2019-02-13 05:30:34 -0500
commit33427ea6b21ee16c1de64ea96640192903167c67 (patch)
tree159e66886f73e20439327f194b532b3bac3f6de3 /org.eclipse.text
parentebdf1f3b99f9e767055d19045bf397ba42a03af7 (diff)
downloadeclipse.platform.text-33427ea6b21ee16c1de64ea96640192903167c67.tar.gz
eclipse.platform.text-33427ea6b21ee16c1de64ea96640192903167c67.tar.xz
eclipse.platform.text-33427ea6b21ee16c1de64ea96640192903167c67.zip
Bug 543933 - Build javadocs with Java 11Y20190213-2200I20190213-1800
Fix warnings catched by java 11 javadoc. Change-Id: I9e35131d8314575d81c186d5c418b6be5137d46c Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
Diffstat (limited to 'org.eclipse.text')
-rw-r--r--org.eclipse.text/src/org/eclipse/text/edits/TextEdit.java4
-rw-r--r--org.eclipse.text/src/org/eclipse/text/edits/UndoEdit.java3
-rw-r--r--org.eclipse.text/src/org/eclipse/text/undo/DocumentUndoManager.java2
3 files changed, 7 insertions, 2 deletions
diff --git a/org.eclipse.text/src/org/eclipse/text/edits/TextEdit.java b/org.eclipse.text/src/org/eclipse/text/edits/TextEdit.java
index bbe53e0e1..2099acceb 100644
--- a/org.eclipse.text/src/org/eclipse/text/edits/TextEdit.java
+++ b/org.eclipse.text/src/org/eclipse/text/edits/TextEdit.java
@@ -39,11 +39,13 @@ import org.eclipse.jface.text.Region;
* </p>
* <p>
* An edit tree is well formed in the following sense:
+ * </p>
* <ul>
* <li>a parent edit covers all its children</li>
* <li>children don't overlap</li>
* <li>an edit with length 0 can't have any children</li>
* </ul>
+ * <p>
* Any manipulation of the tree that violates one of the above requirements results
* in a <code>MalformedTreeException</code>.
* </p>
@@ -51,6 +53,7 @@ import org.eclipse.jface.text.Region;
* Insert edits are represented by an edit of length 0. If more than one insert
* edit exists at the same offset then the edits are executed in the order in which
* they have been added to a parent. The following code example:
+ * </p>
* <pre>
* IDocument document= new Document("org");
* MultiTextEdit edit= new MultiTextEdit();
@@ -58,6 +61,7 @@ import org.eclipse.jface.text.Region;
* edit.addChild(new InsertEdit(0, "eclipse."));
* edit.apply(document);
* </pre>
+ * <p>
* therefore results in string: "www.eclipse.org".
* </p>
* <p>
diff --git a/org.eclipse.text/src/org/eclipse/text/edits/UndoEdit.java b/org.eclipse.text/src/org/eclipse/text/edits/UndoEdit.java
index bb0f523e8..b12bd1fed 100644
--- a/org.eclipse.text/src/org/eclipse/text/edits/UndoEdit.java
+++ b/org.eclipse.text/src/org/eclipse/text/edits/UndoEdit.java
@@ -27,7 +27,8 @@ import org.eclipse.jface.text.IDocument;
* <p>
* Clients can't add additional children to an undo edit nor can they
* add an undo edit as a child to another edit. Doing so results in
- * both cases in a <code>MalformedTreeException<code>.
+ * both cases in a <code>MalformedTreeException</code>.
+ * </p>
*
* @since 3.0
* @noinstantiate This class is not intended to be instantiated by clients.
diff --git a/org.eclipse.text/src/org/eclipse/text/undo/DocumentUndoManager.java b/org.eclipse.text/src/org/eclipse/text/undo/DocumentUndoManager.java
index db7d7f7f7..57e3f925e 100644
--- a/org.eclipse.text/src/org/eclipse/text/undo/DocumentUndoManager.java
+++ b/org.eclipse.text/src/org/eclipse/text/undo/DocumentUndoManager.java
@@ -52,7 +52,7 @@ import org.eclipse.jface.text.TextUtilities;
* <p>
* The classes representing individual text edits (formerly text commands)
* were promoted from inner types to their own classes in order to support
- * reassignment to a different undo manager.<p>
+ * reassignment to a different undo manager.</p>
* <p>
* This class is not intended to be subclassed.
* </p>

Back to the top