From e9f77d0de1cc9a1063c0894258d4e8c3bf3752ec Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Kubitz?= Date: Wed, 22 Nov 2023 09:08:06 +0100 Subject: [PATCH] Javadoc: fix unclosed --- .../refactoring/structure/ChangeSignatureProcessor.java | 2 +- .../src/org/eclipse/jsp/JspPluginImages.java | 4 ++-- .../jdt/internal/corext/buildpath/ClasspathModifier.java | 2 +- .../jdt/internal/ui/refactoring/TextInputWizardPage.java | 2 +- .../jdt/internal/ui/jarpackager/JarFileExportOperation.java | 4 ++-- .../eclipse/jdt/internal/ui/javaeditor/IJavaAnnotation.java | 4 ++-- .../internal/ui/text/spelling/engine/ISpellCheckIterator.java | 2 +- .../jdt/internal/ui/text/spelling/engine/ISpellEvent.java | 2 +- .../jdt/internal/ui/typehierarchy/TypeHierarchyViewPart.java | 2 +- .../jdt/internal/ui/wizards/buildpaths/BuildPathsBlock.java | 2 +- 10 files changed, 13 insertions(+), 13 deletions(-) diff --git a/org.eclipse.jdt.core.manipulation/core extension/org/eclipse/jdt/internal/corext/refactoring/structure/ChangeSignatureProcessor.java b/org.eclipse.jdt.core.manipulation/core extension/org/eclipse/jdt/internal/corext/refactoring/structure/ChangeSignatureProcessor.java index a9cb55527b2..a8495c0e6c0 100644 --- a/org.eclipse.jdt.core.manipulation/core extension/org/eclipse/jdt/internal/corext/refactoring/structure/ChangeSignatureProcessor.java +++ b/org.eclipse.jdt.core.manipulation/core extension/org/eclipse/jdt/internal/corext/refactoring/structure/ChangeSignatureProcessor.java @@ -2534,7 +2534,7 @@ private void insertTag(TagElement tag, TagElement previousTag, ListRewrite tagsR /** * @param tags existing tags * @param tagName name of tag to add - * @return the TagElement just before a new TagElement with name + * @return the TagElement just before a new TagElement with name * tagName, or null. */ private TagElement findTagElementToInsertAfter(List tags, String tagName) { diff --git a/org.eclipse.jdt.ui.examples.javafamily/src/org/eclipse/jsp/JspPluginImages.java b/org.eclipse.jdt.ui.examples.javafamily/src/org/eclipse/jsp/JspPluginImages.java index 735833724a7..0c9db17d87c 100644 --- a/org.eclipse.jdt.ui.examples.javafamily/src/org/eclipse/jsp/JspPluginImages.java +++ b/org.eclipse.jdt.ui.examples.javafamily/src/org/eclipse/jsp/JspPluginImages.java @@ -138,7 +138,7 @@ public static ImageRegistry initializeImageRegistry() { } /** - * Returns the Image identified by the given key, + * Returns the Image identified by the given key, * or null if it does not exist. */ public static Image getImage(String key) { @@ -146,7 +146,7 @@ public static Image getImage(String key) { } /** - * Returns the ImageDescriptor identified by the given key, + * Returns the ImageDescriptor identified by the given key, * or null if it does not exist. */ public static ImageDescriptor getImageDescriptor(String key) { diff --git a/org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/buildpath/ClasspathModifier.java b/org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/buildpath/ClasspathModifier.java index cb161e4a042..f1c8a97b243 100644 --- a/org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/buildpath/ClasspathModifier.java +++ b/org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/buildpath/ClasspathModifier.java @@ -350,7 +350,7 @@ public static CPListElement getClasspathEntry(List elements, IPac * fragment root could be created. * * @param resource the resource to be converted - * @return the resource as + * @return the resource as * IPackageFragment,or null * if failed to convert */ diff --git a/org.eclipse.jdt.ui/ui refactoring/org/eclipse/jdt/internal/ui/refactoring/TextInputWizardPage.java b/org.eclipse.jdt.ui/ui refactoring/org/eclipse/jdt/internal/ui/refactoring/TextInputWizardPage.java index a2677416254..fbb554b2fdb 100644 --- a/org.eclipse.jdt.ui/ui refactoring/org/eclipse/jdt/internal/ui/refactoring/TextInputWizardPage.java +++ b/org.eclipse.jdt.ui/ui refactoring/org/eclipse/jdt/internal/ui/refactoring/TextInputWizardPage.java @@ -121,7 +121,7 @@ public String getInitialValue() { /** * Performs input validation. Returns a RefactoringStatus which - * describes the result of input validation. Null is interpreted + * describes the result of input validation. Null is interpreted * as no error. */ protected RefactoringStatus validateTextField(String text){ diff --git a/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/jarpackager/JarFileExportOperation.java b/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/jarpackager/JarFileExportOperation.java index 5a3970e9845..e7e8b49cb50 100644 --- a/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/jarpackager/JarFileExportOperation.java +++ b/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/jarpackager/JarFileExportOperation.java @@ -813,7 +813,7 @@ private Iterator getClassesIn(IContainer classContainer) throws CoreE * or an extension defined as Java source. * * @param file the file to test - * @return a true if the given resource is a Java file + * @return a true if the given resource is a Java file */ private boolean isJavaFile(IResource file) { return file != null @@ -827,7 +827,7 @@ private boolean isJavaFile(IResource file) { * The resource must be a file whose file name ends with ".class". * * @param file the file to test - * @return a true if the given resource is a class file + * @return a true if the given resource is a class file */ private boolean isClassFile(IResource file) { return file != null diff --git a/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/IJavaAnnotation.java b/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/IJavaAnnotation.java index 1cc2de2708b..0fd09f4d48c 100644 --- a/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/IJavaAnnotation.java +++ b/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/IJavaAnnotation.java @@ -130,11 +130,11 @@ public interface IJavaAnnotation { int getId(); /** - * Returns the marker type associated to this problem or null if no marker type + * Returns the marker type associated to this problem or null if no marker type * can be evaluated. See also {@link CategorizedProblem#getMarkerType()}. * * @return the type of the marker which would be associated to the problem or - * null if no marker type can be evaluated. + * null if no marker type can be evaluated. */ String getMarkerType(); } diff --git a/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/spelling/engine/ISpellCheckIterator.java b/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/spelling/engine/ISpellCheckIterator.java index d757d7d0a55..9e583332be9 100644 --- a/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/spelling/engine/ISpellCheckIterator.java +++ b/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/spelling/engine/ISpellCheckIterator.java @@ -40,7 +40,7 @@ public interface ISpellCheckIterator extends Iterator { /** * Does the current word start a new sentence? * - * @return true iff the current word starts a new sentence, false otherwise + * @return true iff the current word starts a new sentence, false otherwise */ boolean startsSentence(); diff --git a/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/spelling/engine/ISpellEvent.java b/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/spelling/engine/ISpellEvent.java index 2e2e0d69ddd..5c3b375b87f 100644 --- a/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/spelling/engine/ISpellEvent.java +++ b/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/spelling/engine/ISpellEvent.java @@ -61,7 +61,7 @@ public interface ISpellEvent { /** * Does the incorrectly spelled word start a new sentence? * - * @return true iff the word starts a new sentence, false otherwise + * @return true iff the word starts a new sentence, false otherwise */ boolean isStart(); } diff --git a/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/typehierarchy/TypeHierarchyViewPart.java b/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/typehierarchy/TypeHierarchyViewPart.java index a0d7f27cb1c..3de806f85a1 100644 --- a/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/typehierarchy/TypeHierarchyViewPart.java +++ b/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/typehierarchy/TypeHierarchyViewPart.java @@ -1202,7 +1202,7 @@ private void internalSelectType(IMember elem, boolean reveal) { /* * When the input changed or the hierarchy pane becomes visible, - * updateHierarchyViewer brings up the correct view and refreshes + * updateHierarchyViewer brings up the correct view and refreshes * the current tree */ private void updateHierarchyViewer(final boolean doExpand) { diff --git a/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/buildpaths/BuildPathsBlock.java b/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/buildpaths/BuildPathsBlock.java index d4d776acae3..ccaecea3bcd 100644 --- a/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/buildpaths/BuildPathsBlock.java +++ b/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/buildpaths/BuildPathsBlock.java @@ -451,7 +451,7 @@ private ArrayList getCPListElements(IClasspathEntry[] classpathEn // -------- public api -------- /** - * @return Returns the Java project. Can return null if the page has not + * @return Returns the Java project. Can return null if the page has not * been initialized. */ public IJavaProject getJavaProject() {