GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — chore: Fix typos by zbynek · Pull Request #6362 · pmd/pmd

chore: Fix typos #6362

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Sign up for GitHub

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
adangel merged 4 commits into pmd:main from zbynek:typos2
Jan 23, 2026

Uh oh!

There was an error while loading. Please reload this page.

Merged

chore: Fix typos #6362

Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
4 commits
Select commit Hold shift + click to select a range
127160a
chore: Fix typos
zbynek Dec 27, 2025
d8ec071
Clarify typos config, fix TestNG capitalization
zbynek Jan 6, 2026
de20087
Merge branch 'main' into pr-6362
adangel Jan 23, 2026
9df9504
update typos.toml with short howto
adangel Jan 23, 2026
File filter
Filter by extension

Clear filters
Conversations
Failed to load comments.
Loading

Uh oh!

There was an error while loading. Please reload this page.

Jump to
Jump to file
Failed to load files.
Loading

Uh oh!

There was an error while loading. Please reload this page.

Diff view
Diff view

There are no files selected for viewing

9 changes: 0 additions & 9 deletions 9 docs/_data/definitions.yml
Show comments
View file
Open in desktop

This file was deleted.

Oops, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

11 changes: 0 additions & 11 deletions 11 docs/_data/glossary.yml
Show comments
View file
Open in desktop

This file was deleted.

Oops, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

2 changes: 1 addition & 1 deletion 2 docs/pages/pmd/devdocs/github_actions_workflows.md
Show comments
View file
Open in desktop
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ last_updated: July 2025 (7.17.0)

## Build, Build Pull Request, Build Snapshot, Build Release

"Build" itself is a [reuseable workflow](https://docs.github.com/en/actions/sharing-automations/reusing-workflows),
"Build" itself is a [reusable workflow](https://docs.github.com/en/actions/sharing-automations/reusing-workflows),
that is called by "Build Pull Request" and "Build Snapshot" and "Build Release".

* Workflow files:
Expand Down
2 changes: 1 addition & 1 deletion 2 docs/pages/pmd/devdocs/major_contributions/adding_a_new_antlr_based_language.md
Show comments
View file
Open in desktop
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ definitely don't come for free. It is much effort and requires perseverance to i
you can create your own implementation of
[`AntlrTokenFilter`](https://github.com/pmd/pmd/blob/main/pmd-core/src/main/java/net/sourceforge/pmd/cpd/impl/AntlrTokenFilter.java).
You'll need to override then the protected method `getTokenFilter(AntlrTokenManager)`
and return your custom filter. See the CpdLexer for C# as an exmaple:
and return your custom filter. See the CpdLexer for C# as an example:
[`CsCpdLexer`](https://github.com/pmd/pmd/blob/main/pmd-cs/src/main/java/net/sourceforge/pmd/lang/cs/cpd/CsCpdLexer.java).

If you don't need a custom token filter, you don't need to override the method. It returns the default
Expand Down
2 changes: 1 addition & 1 deletion 2 docs/pages/pmd/languages/lua.md
Show comments
View file
Open in desktop
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ title: Lua support
permalink: pmd_languages_lua.html
last_updated: September 2023 (7.0.0)
tags: [languages, CpdCapableLanguage]
summary: "Lua-specifc features and guidance"
summary: "Lua-specific features and guidance"
---

> [Lua](https://www.lua.org/) is a powerful, efficient, lightweight, embeddable scripting language.
Expand Down
2 changes: 1 addition & 1 deletion 2 docs/pages/pmd/projectdocs/credits.md
Show comments
View file
Open in desktop
Original file line number Diff line number Diff line change
Expand Up @@ -1347,7 +1347,7 @@ According to the book [PMD Applied](https://pmdapplied.thomasleecopeland.com/) t
* Christopher Stach - bug report for VariableNamingConventions, bug report for CallSuperInConstructor,
many bug reports for rules that didn't handle Java 1.5 constructs
* Matthew Harrah - noticed missing element in UseCorrectExceptionLogging definition, script bug report
* Mike Kaufman - Reported abug in UnnecessaryCaseChange
* Mike Kaufman - Reported a bug in UnnecessaryCaseChange
* [Elliotte Rusty Harold](http://www.cafeaulait.org/) - reported bug in UseAssertSameInsteadOfAssertTrue,
suggested creating a new ruleset containing rules in each release, UncommentedEmptyConstructor suggestions,
noted missed case for UnusedFormalParameter, documentation suggestions,
Expand Down
2 changes: 1 addition & 1 deletion 2 docs/pages/pmd/userdocs/extending/writing_xpath_rules.md
Show comments
View file
Open in desktop
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ to XDM types.

The same `conv` function is used to translate rule property values to XDM values.

Additionaly, PMD's own `net.sourceforge.pmd.lang.document.Chars` is also translated to a `xs:string`
Additionally, PMD's own `net.sourceforge.pmd.lang.document.Chars` is also translated to a `xs:string`


## Rule properties
Expand Down
2 changes: 1 addition & 1 deletion 2 docs/pages/pmd/userdocs/migrating_to_pmd7.md
Show comments
View file
Open in desktop
Original file line number Diff line number Diff line change
Expand Up @@ -2997,7 +2997,7 @@ super.method();

└─ ExpressionStatement
└─ AssignmentExpression "="
├─ FieldAccess[ @AcessType = "WRITE" ] "field"
├─ FieldAccess[ @AccessType = "WRITE" ] "field"
│ └─ SuperExpression
└─ NumericLiteral "1"

Expand Down
2 changes: 1 addition & 1 deletion 2 docs/pages/pmd/userdocs/tools/ant.md
Show comments
View file
Open in desktop
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ The examples below won't repeat this taskdef element, as this is always required
<td>cacheLocation</td>
<td>
The location of the analysis cache file to be used.
Setting this property enables Incremental Analysis, which can greatly improve analysis time without loosing analysis quality.
Setting this property enables Incremental Analysis, which can greatly improve analysis time without losing analysis quality.
<b>Its use is strongly recommended.</b>
</td>
<td>No</td>
Expand Down
2 changes: 1 addition & 1 deletion 2 docs/pages/pmd/userdocs/tools/maven.md
Show comments
View file
Open in desktop
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ section:
</build>
```

When defining the version in the pluginManagment section, then it doesn't need to be specified in the normal plugins
When defining the version in the pluginManagement section, then it doesn't need to be specified in the normal plugins
section. However, it should additionally be specified in the reporting section.

More information, see [Guide to Configuring Plugin-ins](https://maven.apache.org/guides/mini/guide-configuring-plugins.html).
Expand Down
6 changes: 3 additions & 3 deletions 6 docs/pages/release_notes_old.md
Show comments
View file
Open in desktop
Original file line number Diff line number Diff line change
Expand Up @@ -1207,7 +1207,7 @@ for a list of common, shared parameters that are valid for both commands.
* [#5736](https://github.com/pmd/pmd/pull/5736): Fix #5061: \[java] UnusedLocalVariable FP when using compound assignment - [Lukas Gräf](https://github.com/lukasgraef) (@lukasgraef)
* [#5741](https://github.com/pmd/pmd/pull/5741): \[cli] Make CLI default to multithreaded - [Clément Fournier](https://github.com/oowekyala) (@oowekyala)
* [#5742](https://github.com/pmd/pmd/pull/5742): \[ci] publish-snapshot/old build: migrate to central portal - [Andreas Dangel](https://github.com/adangel) (@adangel)
* [#5743](https://github.com/pmd/pmd/pull/5743): \[ci] Make build a reuseable workflow - [Andreas Dangel](https://github.com/adangel) (@adangel)
* [#5743](https://github.com/pmd/pmd/pull/5743): \[ci] Make build a reusable workflow - [Andreas Dangel](https://github.com/adangel) (@adangel)
* [#5744](https://github.com/pmd/pmd/pull/5744): Fix #5705: \[cli] Always determine PMD_HOME based on script location - [Andreas Dangel](https://github.com/adangel) (@adangel)
* [#5748](https://github.com/pmd/pmd/pull/5748): \[core] Reformat SarifLog to comply to coding standards - [Andreas Dangel](https://github.com/adangel) (@adangel)
* [#5763](https://github.com/pmd/pmd/pull/5763): \[java] Support annotated constructor return type in symbol API - [Clément Fournier](https://github.com/oowekyala) (@oowekyala)
Expand Down Expand Up @@ -7820,7 +7820,7 @@ This minor release will be the last one in 2021. The next release is scheduled t

#### Command Line Interface

The command line options for PMD and CPD now use GNU-syle long options format. E.g. instead of `-rulesets` the
The command line options for PMD and CPD now use GNU-style long options format. E.g. instead of `-rulesets` the
preferred usage is now `--rulesets`. Alternatively one can still use the short option `-R`.
Some options also have been renamed to a more consistent casing pattern at the same time
(`--fail-on-violation` instead of `-failOnViolation`).
Expand Down Expand Up @@ -14841,7 +14841,7 @@ public class Foo {
Detects hardcoded credentials used in requests to an endpoint.

You should refrain from hardcoding credentials:
* They are hard to mantain by being mixed in application code
* They are hard to maintain by being mixed in application code
* Particularly hard to update them when used from different classes
* Granting a developer access to the codebase means granting knowledge
of credentials, keeping a two-level access is not possible.
Expand Down
4 changes: 2 additions & 2 deletions 4 docs/pages/release_notes_pmd7.md
Show comments
View file
Open in desktop
Original file line number Diff line number Diff line change
Expand Up @@ -2024,7 +2024,7 @@ No changes.

**Command Line Interface**

The command line options for PMD and CPD now use GNU-syle long options format. E.g. instead of `-rulesets` the
The command line options for PMD and CPD now use GNU-style long options format. E.g. instead of `-rulesets` the
preferred usage is now `--rulesets`. Alternatively one can still use the short option `-R`.
Some options also have been renamed to a more consistent casing pattern at the same time
(`--fail-on-violation` instead of `-failOnViolation`).
Expand Down Expand Up @@ -3512,7 +3512,7 @@ Language specific fixes:
* [#4488](https://github.com/pmd/pmd/pull/4488): \[java] Fix #4477: A false-positive about SignatureDeclareThrowsException - [AnnaDev](https://github.com/LynnBroe) (@LynnBroe)
* [#4494](https://github.com/pmd/pmd/pull/4494): \[java] Fix #4487: A false-positive about UnnecessaryConstructor and @<!-- -->Inject and @<!-- -->Autowired - [AnnaDev](https://github.com/LynnBroe) (@LynnBroe)
* [#4495](https://github.com/pmd/pmd/pull/4495): \[java] Fix #4493: false-positive about MissingStaticMethodInNonInstantiatableClass and @<!-- -->Inject - [AnnaDev](https://github.com/LynnBroe) (@LynnBroe)
* [#4507](https://github.com/pmd/pmd/pull/4507): \[java] Fix #4503: A false negative about JUnitTestsShouldIncludeAssert and testng - [AnnaDev](https://github.com/LynnBroe) (@LynnBroe)
* [#4507](https://github.com/pmd/pmd/pull/4507): \[java] Fix #4503: A false negative about JUnitTestsShouldIncludeAssert and TestNG - [AnnaDev](https://github.com/LynnBroe) (@LynnBroe)
* [#4520](https://github.com/pmd/pmd/pull/4520): \[doc] Fix typo: missing closing quotation mark after CPD-END - [João Dinis Ferreira](https://github.com/joaodinissf) (@joaodinissf)
* [#4528](https://github.com/pmd/pmd/pull/4528): \[apex] Update to apexlink - [Kevin Jones](https://github.com/nawforce) (@nawforce)
* [#4533](https://github.com/pmd/pmd/pull/4533): \[java] Fix #4063: False-negative about try/catch block in Loop - [AnnaDev](https://github.com/LynnBroe) (@LynnBroe)
Expand Down
2 changes: 1 addition & 1 deletion 2 javacc-wrapper.xml
Show comments
View file
Open in desktop
Original file line number Diff line number Diff line change
Expand Up @@ -445,7 +445,7 @@ public final class ${token-constants-name} \{${line.separator}
<replacevalue><![CDATA[
};

/** Nams of the tokens, each index corresponds to a kind. See also {@link #describe(int)}. */
/** Names of the tokens, each index corresponds to a kind. See also {@link #describe(int)}. */
public static final java.util.List<String> TOKEN_NAMES = java.util.Collections.unmodifiableList(java.util.Arrays.asList(tokenImage));
]]> </replacevalue>
<file name="${token-constants-file}" />
Expand Down
6 changes: 3 additions & 3 deletions 6 pmd-apex/src/main/java/net/sourceforge/pmd/lang/apex/ast/ASTSoqlExpression.java
Show comments
View file
Open in desktop
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,11 @@
import com.google.summit.ast.expression.SoqlExpression;

public final class ASTSoqlExpression extends AbstractApexNode.Single<SoqlExpression> {
private final String canoncialQuery;
private final String canonicalQuery;

ASTSoqlExpression(SoqlExpression soqlExpression) {
super(soqlExpression);
canoncialQuery = convertToCanonicalQuery(soqlExpression.getQuery());
canonicalQuery = convertToCanonicalQuery(soqlExpression.getQuery());
}


Expand All @@ -34,7 +34,7 @@ public String getQuery() {
* Returns the query with the SOQL keywords normalized as uppercase.
*/
public String getCanonicalQuery() {
return canoncialQuery;
return canonicalQuery;
}

static String convertToCanonicalQuery(String rawQuery) {
Expand Down
6 changes: 3 additions & 3 deletions 6 pmd-apex/src/main/java/net/sourceforge/pmd/lang/apex/ast/ASTSoslExpression.java
Show comments
View file
Open in desktop
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,11 @@
import com.google.summit.ast.expression.SoslExpression;

public final class ASTSoslExpression extends AbstractApexNode.Single<SoslExpression> {
private final String canoncialQuery;
private final String canonicalQuery;

ASTSoslExpression(SoslExpression soslExpression) {
super(soslExpression);
canoncialQuery = convertToCanonicalQuery(soslExpression.getQuery());
canonicalQuery = convertToCanonicalQuery(soslExpression.getQuery());
}


Expand All @@ -33,6 +33,6 @@ public String getQuery() {
* Returns the query with the SOSL keywords normalized as uppercase.
*/
public String getCanonicalQuery() {
return canoncialQuery;
return canonicalQuery;
}
}
2 changes: 1 addition & 1 deletion 2 pmd-apex/src/main/java/net/sourceforge/pmd/lang/apex/multifile/ApexMultifileAnalysis.java
Show comments
View file
Open in desktop
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ public final class ApexMultifileAnalysis {
}
} catch (Exception | ExceptionInInitializerError | NoClassDefFoundError e) {
// Note: Org.newOrg() will try to find the base Apex Types through the current classloader
// in package "com.nawforce.runforce". This requires, that directory listings can be retrievied
// in package "com.nawforce.runforce". This requires, that directory listings can be retrieved
// on the URL that the classloader returns from getResource("/com/nawforce/runforce"):
// https://github.com/nawforce/apex-link/blob/7688adcb7a2d7f8aa28d0618ffb2a3aa81151858/apexlink/src/main/scala/com/nawforce/apexlink/types/platform/PlatformTypeDeclaration.scala#L260-L273
// However, when running as an Eclipse plugin, we have a special bundle classloader, that returns
Expand Down
2 changes: 1 addition & 1 deletion 2 ...pex/src/main/java/net/sourceforge/pmd/lang/apex/rule/design/ExcessivePublicCountRule.java
Show comments
View file
Open in desktop
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
* subclasses.</p>
*
* <p>A large proportion of public members and operations means the class
* has high potential to be affected by external classes. Futhermore,
* has high potential to be affected by external classes. Furthermore,
* increased effort will be required to thoroughly test the class.</p>
*
* @author ported from Java original of aglover
Expand Down
4 changes: 2 additions & 2 deletions 4 pmd-apex/src/main/java/net/sourceforge/pmd/lang/apex/rule/security/ApexBadCryptoRule.java
Show comments
View file
Open in desktop
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ public Object visit(ASTUserClass node, Object data) {
|| Helper.isMethodName(methodCall, CRYPTO, ENCRYPT_WITH_MANAGED_IV)
|| Helper.isMethodName(methodCall, CRYPTO, DECRYPT_WITH_MANAGED_IV)) {

validateStaticIVorKey(methodCall, data);
validateStaticIVOrKey(methodCall, data);
}
}

Expand All @@ -84,7 +84,7 @@ private void findSafeVariables(ApexNode<?> var) {
}
}

private void validateStaticIVorKey(ASTMethodCallExpression methodCall, Object data) {
private void validateStaticIVOrKey(ASTMethodCallExpression methodCall, Object data) {
// .encrypt('AES128', key, exampleIv, data);
int numberOfChildren = methodCall.getNumChildren();
switch (numberOfChildren) {
Expand Down
4 changes: 2 additions & 2 deletions 4 ...apex/src/main/java/net/sourceforge/pmd/lang/apex/rule/security/ApexSOQLInjectionRule.java
Show comments
View file
Open in desktop
Original file line number Diff line number Diff line change
Expand Up @@ -78,13 +78,13 @@ public Object visit(ASTUserClass node, Object data) {
findSelectContainingVariables(a);
}

// String foo = String.escapeSignleQuotes(...);
// String foo = String.escapeSingleQuotes(...);
for (ASTVariableDeclaration a : node.descendants(ASTVariableDeclaration.class)) {
findSanitizedVariables(a);
findSelectContainingVariables(a);
}

// baz = String.escapeSignleQuotes(...);
// baz = String.escapeSingleQuotes(...);
for (ASTAssignmentExpression a : node.descendants(ASTAssignmentExpression.class)) {
findSanitizedVariables(a);
findSelectContainingVariables(a);
Expand Down
4 changes: 2 additions & 2 deletions 4 pmd-apex/src/main/resources/category/apex/bestpractices.xml
Show comments
View file
Open in desktop
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ private class TestRunAs {
<description>
Apex test methods should have `@isTest` annotation instead of the `testMethod` keyword,
as `testMethod` is deprecated.
Salesforce advices to use [@isTest](https://developer.salesforce.com/docs/atlas.en-us.apexcode.meta/apexcode/apex_classes_annotation_isTest.htm)
Salesforce advises to use [@isTest](https://developer.salesforce.com/docs/atlas.en-us.apexcode.meta/apexcode/apex_classes_annotation_isTest.htm)
annotation for test classes and methods.
</description>
<priority>3</priority>
Expand Down Expand Up @@ -257,7 +257,7 @@ Many interfaces (e.g. Batch) required global modifiers in the past but don't req
<example>
<![CDATA[
global class Unchangeable {
global UndeletableType unchangable(UndeletableType param) {
global UndeletableType unchangeable(UndeletableType param) {
// ...
}
}
Expand Down
2 changes: 1 addition & 1 deletion 2 pmd-apex/src/main/resources/category/apex/security.xml
Show comments
View file
Open in desktop
Original file line number Diff line number Diff line change
Expand Up @@ -245,7 +245,7 @@ public class Foo {
Detects hardcoded credentials used in requests to an endpoint.

You should refrain from hardcoding credentials:
* They are hard to mantain by being mixed in application code
* They are hard to maintain by being mixed in application code
* Particularly hard to update them when used from different classes
* Granting a developer access to the codebase means granting knowledge
of credentials, keeping a two-level access is not possible.
Expand Down
4 changes: 2 additions & 2 deletions 4 pmd-apex/src/test/java/net/sourceforge/pmd/lang/apex/rule/design/UnusedMethodTest.java
Show comments
View file
Open in desktop
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,8 @@ private void assertViolation(RuleViolation violation, String fileName, int lineN

private Report runRule(Path testProjectDir) throws IOException {
Option<PathLike> pathLikeOption = Option.apply(new com.nawforce.runtime.platform.Path(tempDir));
Option<Option<PathLike>> cachDirOption = Option.apply(pathLikeOption);
Environment.setCacheDirOverride(cachDirOption);
Option<Option<PathLike>> cacheDirOption = Option.apply(pathLikeOption);
Environment.setCacheDirOverride(cacheDirOption);

Language apexLanguage = ApexLanguageModule.getInstance();
LanguageVersion languageVersion = apexLanguage.getDefaultVersion();
Expand Down
Loading
Oops, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

Add this suggestion to a batch that can be applied as a single commit. This suggestion is invalid because no changes were made to the code. Suggestions cannot be applied while the pull request is closed. Suggestions cannot be applied while viewing a subset of changes. Only one suggestion per line can be applied in a batch. Add this suggestion to a batch that can be applied as a single commit. Applying suggestions on deleted lines is not supported. You must change the existing code in this line in order to create a valid suggestion. Outdated suggestions cannot be applied. This suggestion has been applied or marked resolved. Suggestions cannot be applied from pending reviews. Suggestions cannot be applied on multi-line comments. Suggestions cannot be applied while the pull request is queued to merge. Suggestion cannot be applied right now. Please check back later.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.