Skip to content

Commit f4b7158

Browse files
Zopsssromani
authored andcommitted
supplemental: refactor misaligned leading asterisks in javadoc comments
1 parent dd7b849 commit f4b7158

File tree

8 files changed

+19
-19
lines changed

8 files changed

+19
-19
lines changed

src/main/java/com/puppycrawl/tools/checkstyle/api/TokenTypes.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ public final class TokenTypes {
3737
* This is the root node for the source file. It's children
3838
* are an optional package definition, zero or more import statements,
3939
* and zero or more type declarations.
40-
* <p>For example:</p>
40+
* <p>For example:</p>
4141
* <pre>
4242
* import java.util.List;
4343
*

src/main/java/com/puppycrawl/tools/checkstyle/checks/DescendantTokenCheck.java

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -345,11 +345,11 @@ public void setMinimumNumber(int minimumNumber) {
345345
}
346346

347347
/**
348-
* Setter to specify a maximum count for descendants.
349-
*
350-
* @param maximumNumber the maximum count for descendants.
351-
* @since 3.2
352-
*/
348+
* Setter to specify a maximum count for descendants.
349+
*
350+
* @param maximumNumber the maximum count for descendants.
351+
* @since 3.2
352+
*/
353353
public void setMaximumNumber(int maximumNumber) {
354354
this.maximumNumber = maximumNumber;
355355
}

src/main/java/com/puppycrawl/tools/checkstyle/checks/blocks/LeftCurlyCheck.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@ public class LeftCurlyCheck
151151

152152
/**
153153
* Specify the policy on placement of a left curly brace (<code>'{'</code>).
154-
* */
154+
*/
155155
private LeftCurlyOption option = LeftCurlyOption.EOL;
156156

157157
/**

src/main/java/com/puppycrawl/tools/checkstyle/checks/design/HideUtilityClassConstructorCheck.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,7 @@ private static final class Details {
162162
* C-tor.
163163
*
164164
* @param ast class ast
165-
* */
165+
*/
166166
private Details(DetailAST ast) {
167167
this.ast = ast;
168168
}

src/main/java/com/puppycrawl/tools/checkstyle/site/PropertiesMacro.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ public class PropertiesMacro extends AbstractMacro {
105105
/**
106106
* This property is used to change the existing properties for javadoc.
107107
* Tokens always present at the end of all properties.
108-
*/
108+
*/
109109
private static final String TOKENS_PROPERTY = SiteUtil.TOKENS;
110110

111111
/** The name of the current module being processed. */

src/main/java/com/puppycrawl/tools/checkstyle/utils/XpathUtil.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ public final class XpathUtil {
101101
* </pre>
102102
* Only these tokens support text attribute because they make our xpath queries more accurate.
103103
* These token types are listed below.
104-
* */
104+
*/
105105
private static final BitSet TOKEN_TYPES_WITH_TEXT_ATTRIBUTE = TokenUtil.asBitSet(
106106
TokenTypes.IDENT, TokenTypes.STRING_LITERAL, TokenTypes.CHAR_LITERAL,
107107
TokenTypes.NUM_LONG, TokenTypes.NUM_INT, TokenTypes.NUM_DOUBLE, TokenTypes.NUM_FLOAT,

src/test/java/com/puppycrawl/tools/checkstyle/PackageObjectFactoryTest.java

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -494,11 +494,11 @@ public void testCreateObjectWithNameContainingPackageSeparator() throws Exceptio
494494
}
495495

496496
/**
497-
* This test case is designed to verify the behavior of the PackageObjectFactory's
498-
* createModule method when it is provided with a fully qualified class name
499-
* (containing a package separator).
500-
* It ensures that ModuleReflectionUtil.getCheckstyleModules is not executed in this case.
501-
*/
497+
* This test case is designed to verify the behavior of the PackageObjectFactory's
498+
* createModule method when it is provided with a fully qualified class name
499+
* (containing a package separator).
500+
* It ensures that ModuleReflectionUtil.getCheckstyleModules is not executed in this case.
501+
*/
502502
@Test
503503
public void testCreateObjectWithNameContainingPackageSeparatorWithoutSearch() throws Exception {
504504
final ClassLoader classLoader = ClassLoader.getSystemClassLoader();

src/test/java/com/puppycrawl/tools/checkstyle/utils/ModuleReflectionUtilTest.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -80,10 +80,10 @@ public void testIsCheckstyleModule() {
8080
}
8181

8282
/**
83-
* This test case is designed to verify the behavior of getCheckstyleModules method.
84-
* It is provided with a package name that does not contain any checkstyle modules.
85-
* It ensures that ModuleReflectionUtil.getCheckstyleModules is returning an empty set.
86-
*/
83+
* This test case is designed to verify the behavior of getCheckstyleModules method.
84+
* It is provided with a package name that does not contain any checkstyle modules.
85+
* It ensures that ModuleReflectionUtil.getCheckstyleModules is returning an empty set.
86+
*/
8787
@Test
8888
public void testGetCheckStyleModules() throws IOException {
8989
final ClassLoader classLoader = ClassLoader.getSystemClassLoader();

0 commit comments

Comments
 (0)