Skip to content

Commit

Permalink
Issue #15762: resolved javadoc issue
Browse files Browse the repository at this point in the history
  • Loading branch information
Anmol202005 authored and romani committed Feb 22, 2025
1 parent 38a65ef commit 8dffb48
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 21 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -48,11 +48,11 @@ void inheritDocWithThrows() {}
* Some summary.
*
*<p>
* <ul> // ok until #15762
* <p> // ok until #15762
* <ul>
* <p>
* <li>1</li> should NOT give violation as there is not empty line before
* </p> // false-negative on this line & above until #15762
* </ul> // ok until #15762
* </p>
* </ul>
*</p>
*/
public void foo() {}
Expand All @@ -74,8 +74,8 @@ public void fooo() {}
* Some summary.
*
* <p>
* <table> // ok until #15762
* </table> // ok until #15762
* <table>
* </table>
* </p>
*/
public void foooo() {}
Expand All @@ -85,8 +85,8 @@ public void foooo() {}
* Some summary.
*
* <p>
* <pre>testing...</pre> // ok until #15762
* <pre>testing...</pre> // ok until #15762
* <pre>testing...</pre>
* <pre>testing...</pre>
* </p>
*/
public void fooooo() {}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -56,11 +56,11 @@ public class InputJavadocParagraphIncorrectOpenClosedTag {
* Some Summary.
*
* <p>
* <ul> // ok until #15762
* <li>Item 1</li> // ok until #15762
* <li>Item 2</li> // ok until #15762
* <li>Item 3</li> // ok until #15762
* </ul> // ok until #15762
* <ul>
* <li>Item 1</li>
* <li>Item 2</li>
* <li>Item 3</li>
* </ul>
* </p>
*/
int e;
Expand All @@ -79,11 +79,11 @@ public class InputJavadocParagraphIncorrectOpenClosedTag {
* Some Summary.
*
* <p>
* <b>testing....</b> // ok until #15762
* <b>testing....</b>
* </p>
*
* <p>
* <h1>testing....</h1> // ok until #15762
* <h1>testing....</h1>
* </p>
*/
// violation 4 lines above '<p> tag should not precede HTML block-tag '<h1>''
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ public class InputJavadocParagraphIncorrectOpenClosedTag2 {
* Some Summary.
*
* <p>
* Some Javadoc. // ok until #15762
* Some Javadoc.
* </p>
*/
// violation 4 lines above '<p> tag should be placed immediately before the first word'
Expand All @@ -61,11 +61,11 @@ public class InputJavadocParagraphIncorrectOpenClosedTag2 {
* Some Summary.
*
* <p>
* <ul> // ok until #15762
* <li>Item 1</li> // ok until #15762
* <li>Item 2</li> // ok until #15762
* <li>Item 3</li> // ok until #15762
* </ul> // ok until #15762
* <ul>
* <li>Item 1</li>
* <li>Item 2</li>
* <li>Item 3</li>
* </ul>
* </p>
*/
int e;
Expand Down

0 comments on commit 8dffb48

Please sign in to comment.