diff options
author | Alexander Kurtakov | 2019-02-18 17:04:03 +0000 |
---|---|---|
committer | Alexander Kurtakov | 2019-02-18 17:04:03 +0000 |
commit | d8465927bb45d638e37ad9a107dee5c4ee44399b (patch) | |
tree | ad8c7b8e4db893d909ca1532cffd584dfe249471 | |
parent | a11559061cad795991a3cedf2b5865928b37b77c (diff) | |
download | eclipse.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>
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 1fa6b6f45e9..57b4ba0cfff 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 <= offset >= + * 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 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 >= 0 + * @param length the length of the region, must be >= 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> "" -> [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] * </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 6814e3bbf87..54164a019bc 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"> * </view> - * </extension> + * </extension> * </pre> * * The <code>templates.png</code> icon can be copied from this plug-in. |