Skip to content

Commit

Permalink
Issue #13213: Remove '//ok' comments from InputJavadocContentLocation…
Browse files Browse the repository at this point in the history
…TrailingSpace
  • Loading branch information
prathm3 authored and romani committed Apr 30, 2024
1 parent c4d557c commit ed6b230
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 30 deletions.
20 changes: 0 additions & 20 deletions config/checkstyle-input-suppressions.xml
Expand Up @@ -157,26 +157,6 @@
files="checks[\\/]javadoc[\\/]javadoccontentlocation[\\/]InputJavadocContentLocationFirstLine.java"/>
<suppress id="UnnecessaryOkComment"
files="checks[\\/]javadoc[\\/]javadoccontentlocation[\\/]InputJavadocContentLocationFirstLine.java"/>
<suppress id="UnnecessaryOkComment"
files="checks[\\/]javadoc[\\/]javadoccontentlocation[\\/]InputJavadocContentLocationTrailingSpace.java"/>
<suppress id="UnnecessaryOkComment"
files="checks[\\/]javadoc[\\/]javadoccontentlocation[\\/]InputJavadocContentLocationTrailingSpace.java"/>
<suppress id="UnnecessaryOkComment"
files="checks[\\/]javadoc[\\/]javadoccontentlocation[\\/]InputJavadocContentLocationTrailingSpace.java"/>
<suppress id="UnnecessaryOkComment"
files="checks[\\/]javadoc[\\/]javadoccontentlocation[\\/]InputJavadocContentLocationTrailingSpace.java"/>
<suppress id="UnnecessaryOkComment"
files="checks[\\/]javadoc[\\/]javadoccontentlocation[\\/]InputJavadocContentLocationTrailingSpace.java"/>
<suppress id="UnnecessaryOkComment"
files="checks[\\/]javadoc[\\/]javadoccontentlocation[\\/]InputJavadocContentLocationTrailingSpace.java"/>
<suppress id="UnnecessaryOkComment"
files="checks[\\/]javadoc[\\/]javadoccontentlocation[\\/]InputJavadocContentLocationTrailingSpace.java"/>
<suppress id="UnnecessaryOkComment"
files="checks[\\/]javadoc[\\/]javadoccontentlocation[\\/]InputJavadocContentLocationTrailingSpace.java"/>
<suppress id="UnnecessaryOkComment"
files="checks[\\/]javadoc[\\/]javadoccontentlocation[\\/]InputJavadocContentLocationTrailingSpace.java"/>
<suppress id="UnnecessaryOkComment"
files="checks[\\/]javadoc[\\/]javadoccontentlocation[\\/]InputJavadocContentLocationTrailingSpace.java"/>
<suppress id="UnnecessaryOkComment"
files="checks[\\/]javadoc[\\/]javadoccontentlocation[\\/]InputJavadocContentLocationTrimOptionProperty.java"/>
<suppress id="UnnecessaryOkComment"
Expand Down
Expand Up @@ -10,63 +10,63 @@
public interface InputJavadocContentLocationTrailingSpace {

/**
* ^^ There is a trailing space in the first line // ok
* ^^ There is a trailing space in the first line
*/
void space();

/**********************
* Trailing asterisks in the first line // OK
* Trailing asterisks in the first line
*
**********************/
void asterisk();

/** ******
* There is a space, then leading asterisks in the first line // OK
* There is a space, then leading asterisks in the first line
*/
void spaceAsterisk();

/**********************
* Trailing asterisks, then spaces ^^ in the first line // OK
* Trailing asterisks, then spaces ^^ in the first line
*
**********************/
void asteriskSpace();

/** ***************************************
* There is a spaces, then leading asterisks, then spaces ^^ in the first line // OK
* There is a spaces, then leading asterisks, then spaces ^^ in the first line
*/
void spaceAsteriskSpace();

/*** **
* There is an extra asterisk after the Javadoc start,
* then a space, then leading asterisks in the first line // OK
* then a space, then leading asterisks in the first line
* The generated javadoc will be "There is an extra ..."
*/
void asteriskSpaceAsterisk();

/** * ***
* There is a space, then a leading asterisk, then a space,
* then asterisks in the first line // OK
* then asterisks in the first line
* The generated javadoc will be "*** There is a space ..."
*/
void spaceAsteriskSpaceAsterisk();

/*** **
* There is an extra asterisk after the Javadoc start,
* then a space, then leading asterisks, then a space in the first line // OK
* then a space, then leading asterisks, then a space in the first line
* The generated javadoc will be "There is an extra ..."
*/
void asteriskSpaceAsteriskSpace();

/** * ***
* There is a space, then a leading asterisk, then a space again,
* then asterisks, then third space in the first line // OK
* then asterisks, then third space in the first line
* The generated javadoc will be "*** There is a space ..."
*/
void spaceAsteriskSpaceAsteriskSpace();

/*** ** **
* There is an extra asterisk after the Javadoc start, then a space,
* then leading asterisks, then a space, then third asterisk in the first line // OK
* then leading asterisks, then a space, then third asterisk in the first line
* The generated javadoc will be "** There is an extra ..."
*/
void asteriskSpaceAsteriskSpaceAsterisk();
Expand Down

0 comments on commit ed6b230

Please sign in to comment.