Skip to content

Commit

Permalink
Pointless i for
Browse files Browse the repository at this point in the history
  • Loading branch information
Matyrobbrt committed Jan 18, 2025
1 parent 526895e commit b861ccb
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -401,8 +401,7 @@ abstract class GenerateModuleMetadata extends DefaultTask implements HasMinecraf
@CompileDynamic
private static Collection commonDeps(List... lists) {
Map<String, Map> highestVersion = [:]
for (int i = 0; i < lists.size(); i++) {
var list = lists[i]
for (var list : lists) {
list.forEach { Map item ->
var id = item.group + ':' + item.module
highestVersion.merge(id, item) { oldValue, newValue ->
Expand Down

0 comments on commit b861ccb

Please sign in to comment.