Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexander Kurtakov2019-02-18 12:04:03 -0500
committerAlexander Kurtakov2019-02-18 12:04:03 -0500
commitd8465927bb45d638e37ad9a107dee5c4ee44399b (patch)
treead8c7b8e4db893d909ca1532cffd584dfe249471
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>
-rw-r--r--org.eclipse.jface.text/src/org/eclipse/jface/contentassist/IContentAssistSubjectControl.java24
-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
-rw-r--r--org.eclipse.ui.workbench.texteditor/src/org/eclipse/ui/texteditor/templates/TemplatesView.java2
4 files changed, 22 insertions, 20 deletions
diff --git a/org.eclipse.jface.text/src/org/eclipse/jface/contentassist/IContentAssistSubjectControl.java b/org.eclipse.jface.text/src/org/eclipse/jface/contentassist/IContentAssistSubjectControl.java
index 1fa6b6f45..57b4ba0cf 100644
--- a/org.eclipse.jface.text/src/org/eclipse/jface/contentassist/IContentAssistSubjectControl.java
+++ b/org.eclipse.jface.text/src/org/eclipse/jface/contentassist/IContentAssistSubjectControl.java
@@ -69,19 +69,21 @@ public interface IContentAssistSubjectControl {
int getCaretOffset();
/**
- * Returns the x, y location of the upper left corner of the character
- * bounding box at the specified offset in the text. The point is relative
- * to the upper left corner of the widget client area.
+ * Returns the x, y location of the upper left corner of the character bounding box at the
+ * specified offset in the text. The point is relative to the upper left corner of the widget
+ * client area.
*
- * @param offset widget offset relative to the start of the content 0
- * <= offset <= getCharCount()
- * @return x, y location of the upper left corner of the character bounding
- * box at the specified offset in the text
+ * @param offset widget offset relative to the start of the content 0 &lt;= offset &gt;=
+ * getCharCount()
+ * @return x, y location of the upper left corner of the character bounding box at the specified
+ * offset in the text
* @throws org.eclipse.swt.SWTException in these cases:
- * <ul>
- * <li>{@link org.eclipse.swt.SWT#ERROR_WIDGET_DISPOSED} - if the receiver has been disposed</li>
- * <li>{@link org.eclipse.swt.SWT#ERROR_THREAD_INVALID_ACCESS} - if not called from the thread that created the receiver</li>
- * </ul>
+ * <ul>
+ * <li>{@link org.eclipse.swt.SWT#ERROR_WIDGET_DISPOSED} - if the receiver has been
+ * disposed</li>
+ * <li>{@link org.eclipse.swt.SWT#ERROR_THREAD_INVALID_ACCESS} - if not called from
+ * the thread that created the receiver</li>
+ * </ul>
* @exception IllegalArgumentException when the offset is outside the valid range
*/
Point getLocationAtOffset(int offset);
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 8767a676f..00bfb4365 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 d62e6c869..88e3ecc65 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.
diff --git a/org.eclipse.ui.workbench.texteditor/src/org/eclipse/ui/texteditor/templates/TemplatesView.java b/org.eclipse.ui.workbench.texteditor/src/org/eclipse/ui/texteditor/templates/TemplatesView.java
index 6814e3bbf..54164a019 100644
--- a/org.eclipse.ui.workbench.texteditor/src/org/eclipse/ui/texteditor/templates/TemplatesView.java
+++ b/org.eclipse.ui.workbench.texteditor/src/org/eclipse/ui/texteditor/templates/TemplatesView.java
@@ -72,7 +72,7 @@ import org.eclipse.ui.texteditor.IAbstractTextEditorHelpContextIds;
* class="org.eclipse.ui.texteditor.templates.TemplatesView"
* id="org.eclipse.ui.texteditor.TemplatesView"&gt;
* &lt;/view&gt;
- * &lt/extension>
+ * &lt;/extension&gt;
* </pre>
*
* The <code>templates.png</code> icon can be copied from this plug-in.

Back to the top