Skip to content

Commit

Permalink
Javadoc: fix unclosed <code>
Browse files Browse the repository at this point in the history
  • Loading branch information
EcljpseB0T authored and jukzi committed Nov 29, 2023
1 parent d04cefe commit e9f77d0
Show file tree
Hide file tree
Showing 10 changed files with 13 additions and 13 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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 <code>TagElement<code> just before a new <code>TagElement</code> with name
* @return the <code>TagElement</code> just before a new <code>TagElement</code> with name
* <code>tagName</code>, or <code>null</code>.
*/
private TagElement findTagElementToInsertAfter(List<TagElement> tags, String tagName) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -138,15 +138,15 @@ public static ImageRegistry initializeImageRegistry() {
}

/**
* Returns the <code>Image<code> identified by the given key,
* Returns the <code>Image</code> identified by the given key,
* or <code>null</code> if it does not exist.
*/
public static Image getImage(String key) {
return getImageRegistry().get(key);
}

/**
* Returns the <code>ImageDescriptor<code> identified by the given key,
* Returns the <code>ImageDescriptor</code> identified by the given key,
* or <code>null</code> if it does not exist.
*/
public static ImageDescriptor getImageDescriptor(String key) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -350,7 +350,7 @@ public static CPListElement getClasspathEntry(List<CPListElement> elements, IPac
* fragment root could be created.
*
* @param resource the resource to be converted
* @return the <code>resource<code> as
* @return the <code>resource</code> as
* <code>IPackageFragment</code>,or <code>null</code>
* if failed to convert
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ public String getInitialValue() {

/**
* Performs input validation. Returns a <code>RefactoringStatus</code> which
* describes the result of input validation. <code>Null<code> is interpreted
* describes the result of input validation. <code>Null</code> is interpreted
* as no error.
*/
protected RefactoringStatus validateTextField(String text){
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -813,7 +813,7 @@ private Iterator<IResource> getClassesIn(IContainer classContainer) throws CoreE
* or an extension defined as Java source.
*
* @param file the file to test
* @return a <code>true<code> if the given resource is a Java file
* @return a <code>true</code> if the given resource is a Java file
*/
private boolean isJavaFile(IResource file) {
return file != null
Expand All @@ -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 <code>true<code> if the given resource is a class file
* @return a <code>true</code> if the given resource is a class file
*/
private boolean isClassFile(IResource file) {
return file != null
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -130,11 +130,11 @@ public interface IJavaAnnotation {
int getId();

/**
* Returns the marker type associated to this problem or <code>null<code> if no marker type
* Returns the marker type associated to this problem or <code>null</code> 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
* <code>null<code> if no marker type can be evaluated.
* <code>null</code> if no marker type can be evaluated.
*/
String getMarkerType();
}
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ public interface ISpellCheckIterator extends Iterator<String> {
/**
* Does the current word start a new sentence?
*
* @return <code>true<code> iff the current word starts a new sentence, <code>false</code> otherwise
* @return <code>true</code> iff the current word starts a new sentence, <code>false</code> otherwise
*/
boolean startsSentence();

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ public interface ISpellEvent {
/**
* Does the incorrectly spelled word start a new sentence?
*
* @return <code>true<code> iff the word starts a new sentence, <code>false</code> otherwise
* @return <code>true</code> iff the word starts a new sentence, <code>false</code> otherwise
*/
boolean isStart();
}
Original file line number Diff line number Diff line change
Expand Up @@ -1202,7 +1202,7 @@ private void internalSelectType(IMember elem, boolean reveal) {

/*
* When the input changed or the hierarchy pane becomes visible,
* <code>updateHierarchyViewer<code> brings up the correct view and refreshes
* <code>updateHierarchyViewer</code> brings up the correct view and refreshes
* the current tree
*/
private void updateHierarchyViewer(final boolean doExpand) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -451,7 +451,7 @@ private ArrayList<CPListElement> getCPListElements(IClasspathEntry[] classpathEn
// -------- public api --------

/**
* @return Returns the Java project. Can return <code>null<code> if the page has not
* @return Returns the Java project. Can return <code>null</code> if the page has not
* been initialized.
*/
public IJavaProject getJavaProject() {
Expand Down

0 comments on commit e9f77d0

Please sign in to comment.