Skip to content

Commit

Permalink
bug(objectionary#3864): rename
Browse files Browse the repository at this point in the history
  • Loading branch information
maxonfjvipon committed Feb 9, 2025
1 parent 493ac6a commit 58bd9f2
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions eo-maven-plugin/src/main/java/org/eolang/maven/LintMojo.java
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ void exec() throws IOException {
if (this.skipLinting) {
Logger.info(this, "Linting is skipped because eo:skipLinting is TRUE");
} else {
LintMojo.this.lint();
this.lint();
}
}

Expand Down Expand Up @@ -177,7 +177,7 @@ private int lintOne(final ForeignTojo tojo,
final Path target = new Place(name).make(base, AssembleMojo.XMIR);
tojo.withLinted(
new FpDefault(
src -> LintMojo.lint(xmir, counts).toString(),
src -> LintMojo.linted(xmir, counts).toString(),
this.cache.toPath().resolve(LintMojo.CACHE),
this.plugin.getVersion(),
new TojoHash(tojo),
Expand Down Expand Up @@ -304,8 +304,7 @@ private static String summary(final ConcurrentHashMap<Severity, Integer> counts)
* @param counts Counts of errors, warnings, and critical
* @return XML after linting
*/
private static XML lint(final XML xmir,
final ConcurrentHashMap<Severity, Integer> counts) {
private static XML linted(final XML xmir, final ConcurrentHashMap<Severity, Integer> counts) {
final Directives dirs = new Directives();
final Collection<Defect> defects = new Program(xmir).defects();
if (!defects.isEmpty()) {
Expand Down

0 comments on commit 58bd9f2

Please sign in to comment.