Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexander Kurtakov2019-02-13 10:30:34 +0000
committerAlexander Kurtakov2019-02-13 10:30:34 +0000
commit33427ea6b21ee16c1de64ea96640192903167c67 (patch)
tree159e66886f73e20439327f194b532b3bac3f6de3
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>
-rw-r--r--org.eclipse.core.filebuffers/src/org/eclipse/core/filebuffers/IDocumentSetupParticipant.java3
-rw-r--r--org.eclipse.search/new search/org/eclipse/search/ui/text/TextSearchQueryProvider.java8
-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
5 files changed, 14 insertions, 6 deletions
diff --git a/org.eclipse.core.filebuffers/src/org/eclipse/core/filebuffers/IDocumentSetupParticipant.java b/org.eclipse.core.filebuffers/src/org/eclipse/core/filebuffers/IDocumentSetupParticipant.java
index 290a36658..1185e153a 100644
--- a/org.eclipse.core.filebuffers/src/org/eclipse/core/filebuffers/IDocumentSetupParticipant.java
+++ b/org.eclipse.core.filebuffers/src/org/eclipse/core/filebuffers/IDocumentSetupParticipant.java
@@ -33,10 +33,11 @@ import org.eclipse.jface.text.IDocument;
* In order to provide backward compatibility for clients of <code>IDocumentSetupParticipant</code>, extension
* interfaces are used to provide a means of evolution. The following extension interfaces
* exist:
+ * </p>
* <ul>
* <li> {@link IDocumentSetupParticipantExtension} since version 3.4 introducing the
* concept of rewrite sessions. .</li>
- * </ul></p>
+ * </ul>
*
* @since 3.0
* @see org.eclipse.jface.text.IDocumentExtension3
diff --git a/org.eclipse.search/new search/org/eclipse/search/ui/text/TextSearchQueryProvider.java b/org.eclipse.search/new search/org/eclipse/search/ui/text/TextSearchQueryProvider.java
index 2be8efcc6..a58695c31 100644
--- a/org.eclipse.search/new search/org/eclipse/search/ui/text/TextSearchQueryProvider.java
+++ b/org.eclipse.search/new search/org/eclipse/search/ui/text/TextSearchQueryProvider.java
@@ -25,9 +25,11 @@ import org.eclipse.search.ui.ISearchQuery;
/**
- * Abstract base class for text search query providers supplied via the <code>org.eclipse.search.textSearchQueryProvider</code>
- * extension point. The plug-in preference <code>org.eclipse.search.textSearchQueryProvider<code> defines the preferred
- * query provider. It is intended that only products choose a preferred query provider.
+ * Abstract base class for text search query providers supplied via the
+ * <code>org.eclipse.search.textSearchQueryProvider</code> extension point. The
+ * plug-in preference <code>org.eclipse.search.textSearchQueryProvider</code>
+ * defines the preferred query provider. It is intended that only products
+ * choose a preferred query provider.
*
* @since 3.2
*/
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