This is an automated email from the ASF dual-hosted git repository. elharo pushed a commit to branch gramma in repository https://gitbox.apache.org/repos/asf/maven-checkstyle-plugin.git
commit a2adbc2b5a64c06bea7c41053c454979ce00dc53 Author: Elliotte Rusty Harold <[email protected]> AuthorDate: Wed Jan 7 10:23:40 2026 -0500 typos --- .../plugins/checkstyle/AbstractCheckstyleReport.java | 2 +- .../org/apache/maven/plugins/checkstyle/Violation.java | 2 +- .../maven/plugins/checkstyle/CheckstyleReportTest.java | 18 +++++++++--------- 3 files changed, 11 insertions(+), 11 deletions(-) diff --git a/src/main/java/org/apache/maven/plugins/checkstyle/AbstractCheckstyleReport.java b/src/main/java/org/apache/maven/plugins/checkstyle/AbstractCheckstyleReport.java index e853f75..a4a3842 100644 --- a/src/main/java/org/apache/maven/plugins/checkstyle/AbstractCheckstyleReport.java +++ b/src/main/java/org/apache/maven/plugins/checkstyle/AbstractCheckstyleReport.java @@ -374,7 +374,7 @@ public abstract class AbstractCheckstyleReport extends AbstractMavenReport { /** * When using custom treeWalkers, specify their names here so the checks - * inside the treeWalker end up the the rule-summary. + * inside the treeWalker end up in the rule summary. * * @since 2.11 */ diff --git a/src/main/java/org/apache/maven/plugins/checkstyle/Violation.java b/src/main/java/org/apache/maven/plugins/checkstyle/Violation.java index 5697e5e..f8a0678 100644 --- a/src/main/java/org/apache/maven/plugins/checkstyle/Violation.java +++ b/src/main/java/org/apache/maven/plugins/checkstyle/Violation.java @@ -116,7 +116,7 @@ class Violation { /** * Returns the column in which the violation occurred, if available. * - * @return the column in which the violation occurred, if available. Otherwise returns {@link #NO_COLUMN}. + * @return the column in which the violation occurred, if available. Otherwise, returns {@link #NO_COLUMN}. */ protected String getColumn() { return column; diff --git a/src/test/java/org/apache/maven/plugins/checkstyle/CheckstyleReportTest.java b/src/test/java/org/apache/maven/plugins/checkstyle/CheckstyleReportTest.java index 94e5211..cb330da 100644 --- a/src/test/java/org/apache/maven/plugins/checkstyle/CheckstyleReportTest.java +++ b/src/test/java/org/apache/maven/plugins/checkstyle/CheckstyleReportTest.java @@ -108,7 +108,7 @@ public class CheckstyleReportTest { assertFalse(new File(generatedReport.getAbsolutePath()).exists()); } - // We need to change the basedir to point to test repositor with out site.xml file + // We need to change the basedir to point to test repository without site.xml file. // without it test will use real project site.xml without skin configuration @Basedir("/plugin-configs") @InjectMojo(goal = "checkstyle", pom = "min-plugin-config.xml") @@ -120,7 +120,7 @@ public class CheckstyleReportTest { assertGeneratedReport(mojo); } - // We need to change the basedir to point to test repositor with out site.xml file + // We need to change the basedir to point to test repository without site.xml file. // without it test will use real project site.xml without skin configuration @Basedir("/plugin-configs") @InjectMojo(goal = "checkstyle", pom = "custom-plugin-config.xml") @@ -131,7 +131,7 @@ public class CheckstyleReportTest { assertGeneratedReport(mojo); } - // We need to change the basedir to point to test repositor with out site.xml file + // We need to change the basedir to point to test repository without site.xml file. // without it test will use real project site.xml without skin configuration @Basedir("/plugin-configs") @InjectMojo(goal = "checkstyle", pom = "useFile-plugin-config.xml") @@ -142,7 +142,7 @@ public class CheckstyleReportTest { assertGeneratedReport(mojo); } - // We need to change the basedir to point to test repositor with out site.xml file + // We need to change the basedir to point to test repository without site.xml file. // without it test will use real project site.xml without skin configuration @Basedir("/plugin-configs") @InjectMojo(goal = "checkstyle", pom = "no-rules-plugin-config.xml") @@ -154,7 +154,7 @@ public class CheckstyleReportTest { assertGeneratedReport(mojo); } - // We need to change the basedir to point to test repositor with out site.xml file + // We need to change the basedir to point to test repository without site.xml file. // without it test will use real project site.xml without skin configuration @Basedir("/plugin-configs") @InjectMojo(goal = "checkstyle", pom = "no-severity-plugin-config.xml") @@ -166,7 +166,7 @@ public class CheckstyleReportTest { assertGeneratedReport(mojo); } - // We need to change the basedir to point to test repositor with out site.xml file + // We need to change the basedir to point to test repository without site.xml file. // without it test will use real project site.xml without skin configuration @Basedir("/plugin-configs") @InjectMojo(goal = "checkstyle", pom = "no-files-plugin-config.xml") @@ -178,7 +178,7 @@ public class CheckstyleReportTest { assertGeneratedReport(mojo); } - // We need to change the basedir to point to test repositor with out site.xml file + // We need to change the basedir to point to test repository without site.xml file. // without it test will use real project site.xml without skin configuration @Basedir("/plugin-configs") @InjectMojo(goal = "checkstyle", pom = "fail-on-error-plugin-config.xml") @@ -196,7 +196,7 @@ public class CheckstyleReportTest { } } - // We need to change the basedir to point to test repositor with out site.xml file + // We need to change the basedir to point to test repository without site.xml file. // without it test will use real project site.xml without skin configuration @Basedir("/plugin-configs") @InjectMojo(goal = "checkstyle", pom = "dep-resolution-exception-plugin-config.xml") @@ -216,7 +216,7 @@ public class CheckstyleReportTest { } } - // We need to change the basedir to point to test repositor with out site.xml file + // We need to change the basedir to point to test repository without site.xml file. // without it test will use real project site.xml without skin configuration @Basedir("/plugin-configs") @InjectMojo(goal = "checkstyle", pom = "test-source-directory-plugin-config.xml")
