Skip to content

Commit

Permalink
Javadoc format fixes (part 2)
Browse files Browse the repository at this point in the history
Contributes to
eclipse-platform/eclipse.platform.releng.aggregator#1531.
It's a pity that this takes multiple cycles but fixing one thing from
the log uncovers the next.
  • Loading branch information
akurtakov committed Dec 7, 2023
1 parent 9fb036c commit 78cba85
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions org.eclipse.jdt.core/model/org/eclipse/jdt/core/JavaCore.java
Original file line number Diff line number Diff line change
Expand Up @@ -1530,7 +1530,7 @@ public final class JavaCore extends Plugin {
* Compiler option ID: Reporting a resource that may not be closed properly.
* <p>When enabled, the compiler will issue an error or a warning if
* a local variable holds a value of type <code>java.lang.AutoCloseable</code> (compliance>=1.7)
* or a value of type <code>java.io.Closeable</code> (compliance<=1.6) and if
* or a value of type <code>java.io.Closeable</code> (compliance&lt;=1.6) and if
* flow analysis shows that the method <code>close()</code> is
* not invoked locally on that value for all execution paths.</p>
* <dl>
Expand Down Expand Up @@ -2934,7 +2934,7 @@ public final class JavaCore extends Plugin {
* one of the proposed suffixes.</p>
* <dl>
* <dt>Option id:</dt><dd><code>"org.eclipse.jdt.core.codeComplete.staticFinalFieldSuffixes"</code></dd>
* <dt>Possible values:</dt><dd>{@code "<suffix>[<suffix>]*" }< where {@code <suffix>} is a String without any wild-card</dd>
* <dt>Possible values:</dt><dd>{@code "<suffix>[<suffix>]*" }&lt; where {@code <suffix>} is a String without any wild-card</dd>
* <dt>Default:</dt><dd><code>""</code></dd>
* </dl>
* @since 3.5
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,11 +42,11 @@
* with J2SE 1.4 or earlier, involved only <i>simple</i> signatures.
* </p>
* <p>
* Note that the "Q", "!", "|" and "&" formats are specific to Eclipse; the remainder
* Note that the "Q", "!", "|" and "&amp;" formats are specific to Eclipse; the remainder
* are specified in the JVM spec.
* </p>
* <p>
* Due to historical reasons Eclipse uses "|" format for Intersection and "&" for Union
* Due to historical reasons Eclipse uses "|" format for Intersection and "&amp;" for Union
* which is opposite to their usage in source code.
* </p>
* <p>
Expand Down Expand Up @@ -150,7 +150,7 @@
* <ul>
* <li><code>"X:"</code> denotes <code>X</code></li>
* <li><code>"X:QReader;"</code> denotes <code>X extends Reader</code> in source code</li>
* <li><code>"X:QReader;:QSerializable;"</code> denotes <code>X extends Reader & Serializable</code> in source code</li>
* <li><code>"X:QReader;:QSerializable;"</code> denotes <code>X extends Reader &amp; Serializable</code> in source code</li>
* </ul>
* <p>
* This class provides static methods and constants only.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ public interface IDOMType extends IDOMMember {
* Sets the formal type parameters for this type.
* <p>Formal type parameters are given as they appear in the source
* code; for example:
* <code>"X extends List&lt;String&gt; &amp Serializable"</code>.
* <code>"X extends List&lt;String&gt; &amp; Serializable"</code>.
* </p>
*
* @param typeParameters the formal type parameters of this type,
Expand Down

0 comments on commit 78cba85

Please sign in to comment.