Skip to content

Commit

Permalink
#3797: more
Browse files Browse the repository at this point in the history
  • Loading branch information
yegor256 committed Jan 22, 2025
1 parent 8145d15 commit 67ebbba
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 13 deletions.
8 changes: 4 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 @@ -162,11 +162,11 @@ private int lintOne(final ForeignTojo tojo,
*/
private int lintAll(final ConcurrentHashMap<Severity, Integer> counts) throws IOException {
final Map<String, Path> paths = new HashMap<>();
for (final ForeignTojo tojo : this.scopedTojos().withLinted()) {
paths.put(tojo.identifier(), tojo.linted());
for (final ForeignTojo tojo : this.scopedTojos().withShaken()) {
paths.put(tojo.identifier(), tojo.shaken());
}
for (final ForeignTojo tojo : this.compileTojos().withLinted()) {
paths.put(tojo.identifier(), tojo.linted());
for (final ForeignTojo tojo : this.compileTojos().withShaken()) {
paths.put(tojo.identifier(), tojo.shaken());
}
final Map<String, XML> pkg = new HashMap<>();
for (final Map.Entry<String, Path> ent : paths.entrySet()) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -161,14 +161,6 @@ public Collection<ForeignTojo> withShaken() {
return this.select(row -> row.exists(Attribute.SHAKEN.getKey()));
}

/**
* Get the tojos that have corresponding linted XMIR.
* @return The tojos.
*/
public Collection<ForeignTojo> withLinted() {
return this.select(row -> row.exists(Attribute.LINTED.getKey()));
}

/**
* Get the tojos that doesn't have dependency.
* @return The tojos.
Expand Down
1 change: 0 additions & 1 deletion eo-runtime/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -236,7 +236,6 @@ SOFTWARE.
<goal>register</goal>
<goal>deps</goal>
<goal>assemble</goal>
<goal>lint</goal>
<goal>transpile</goal>
<goal>xmir-to-phi</goal>
<goal>phi-to-xmir</goal>
Expand Down

0 comments on commit 67ebbba

Please sign in to comment.