Bug 543933 - Build javadocs with Java 11

Fix warnings catched by java 11 javadoc. (take 2)

Change-Id: Iccf5071777c27d00d2bd06d9301e175b4ce820dc
Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
diff --git a/org.eclipse.jface.text/src/org/eclipse/jface/text/AbstractInformationControlManager.java b/org.eclipse.jface.text/src/org/eclipse/jface/text/AbstractInformationControlManager.java
index 689e138..ea9234e 100644
--- a/org.eclipse.jface.text/src/org/eclipse/jface/text/AbstractInformationControlManager.java
+++ b/org.eclipse.jface.text/src/org/eclipse/jface/text/AbstractInformationControlManager.java
@@ -585,10 +585,10 @@
 	 * anchor can not be used because the information control would not fit in the display client
 	 * area.
 	 * <p>
-	 * The fallback anchor for a given anchor is the one that comes directly after the given anchor or
-	 * is the first one in the sequence if the given anchor is the last one in the sequence.
-	 * <p>
+	 * The fallback anchor for a given anchor is the one that comes directly after the given anchor
+	 * or is the first one in the sequence if the given anchor is the last one in the sequence.
 	 * </p>
+	 * <p>
 	 * Note: This sequence is ignored if the original anchor is not contained in this list.
 	 * </p>
 	 *
diff --git a/org.eclipse.search/new search/org/eclipse/search/ui/text/Match.java b/org.eclipse.search/new search/org/eclipse/search/ui/text/Match.java
index 48f1eb2..eb863da 100644
--- a/org.eclipse.search/new search/org/eclipse/search/ui/text/Match.java
+++ b/org.eclipse.search/new search/org/eclipse/search/ui/text/Match.java
@@ -158,8 +158,8 @@
 	/**
 	 * Returns whether this match is filtered or not.
 	 *
-	 * @return <code>true<code> if the match is filtered;
-	 *  otherwise <code>false</code>
+	 * @return <code>true</code> if the match is filtered; otherwise
+	 *         <code>false</code>
 	 *
 	 * @since 3.1
 	 */
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 2099acc..1121070 100644
--- a/org.eclipse.text/src/org/eclipse/text/edits/TextEdit.java
+++ b/org.eclipse.text/src/org/eclipse/text/edits/TextEdit.java
@@ -144,7 +144,7 @@
 
 	/**
 	 * Create a new text edit. Parent is initialized to <code>
-	 * null<code> and the edit doesn't have any children.
+	 * null</code> and the edit doesn't have any children.
 	 *
 	 * @param offset the edit's offset
 	 * @param length the edit's length
@@ -213,7 +213,7 @@
 	 * calculation:
 	 * <pre>
 	 *   getOffset() + getLength() - 1;
-	 * <pre>
+	 * </pre>
 	 *
 	 * @return the inclusive end position
 	 */
@@ -265,7 +265,7 @@
 	 * decide if a edit of length zero can cover another edit.
 	 *
 	 * @param other the other edit
-	 * @return <code>true<code> if the edit covers the other edit;
+	 * @return <code>true</code> if the edit covers the other edit;
 	 *  otherwise <code>false</code> is returned.
 	 */
 	public boolean covers(TextEdit other) {
@@ -598,10 +598,10 @@
 	 * object to fulfill this requirement.
 	 * <p>
 	 * Implementers of this method should use the copy constructor <code>
-	 * Edit#Edit(Edit source) to initialize the edit part of the copy.
+	 * Edit#Edit</code>(Edit source) to initialize the edit part of the copy.
 	 * Implementors aren't responsible to actually copy the children or
 	 * to set the right parent.
-	 * <p>
+	 * </p>
 	 * This method <b>should not be called</b> from outside the framework.
 	 * Please use <code>copy</code> to create a copy of a edit tree.
 	 *
@@ -648,6 +648,7 @@
 	 * This method must be implemented in all concrete text edits.
 	 * <p>
 	 * General template for implementation on each concrete TextEdit class:
+	 * </p>
 	 * <pre>
 	 * <code>
 	 * boolean visitChildren= visitor.visit(this);
@@ -658,7 +659,6 @@
 	 * </pre>
 	 * Note that the caller (<code>accept</code>) takes care of invoking
 	 * <code>visitor.preVisit(this)</code> and <code>visitor.postVisit(this)</code>.
-	 * </p>
 	 *
 	 * @param visitor the visitor object
 	 */
@@ -695,7 +695,7 @@
 	 *
 	 * @param document the document to be manipulated
 	 * @param style flags controlling the execution of the edit tree. Valid
-	 *  flags are: <code>CREATE_UNDO</code> and </code>UPDATE_REGIONS</code>.
+	 *  flags are: <code>CREATE_UNDO</code> and <code>UPDATE_REGIONS</code>.
 	 * @return a undo edit, if <code>CREATE_UNDO</code> is specified. Otherwise
 	 *  <code>null</code> is returned.
 	 *
diff --git a/org.eclipse.ui.workbench.texteditor/src/org/eclipse/ui/texteditor/TextSelectionNavigationLocation.java b/org.eclipse.ui.workbench.texteditor/src/org/eclipse/ui/texteditor/TextSelectionNavigationLocation.java
index c246301..ec0cbc9 100644
--- a/org.eclipse.ui.workbench.texteditor/src/org/eclipse/ui/texteditor/TextSelectionNavigationLocation.java
+++ b/org.eclipse.ui.workbench.texteditor/src/org/eclipse/ui/texteditor/TextSelectionNavigationLocation.java
@@ -213,8 +213,9 @@
 	/**
 	 * Merges the given location into this one.
 	 *
-	 * @param location the location to merge into this one
-	 * @return <code>true<code> if merging was successful
+	 * @param location
+	 *            the location to merge into this one
+	 * @return <code>true</code> if merging was successful
 	 */
 	@Override
 	public boolean mergeInto(INavigationLocation location) {