Skip to content
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.

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

Remove a redundant asSequence() call #1431

Merged
merged 1 commit into from
Jul 31, 2024

Conversation

liblit
Copy link
Contributor

@liblit liblit commented Jul 31, 2024

The FileCollection provided by outputs.files already offers an elementAt(Int) method. There's no need to convert this FileCollection to a Sequence<File> just for indexed access.

The `FileCollection` provided by `outputs.files` already offers an
`elementAt(Int)` method.  There's no need to convert this
`FileCollection` to a `Sequence<File>` just for indexed access.
@liblit liblit added gradle WALA’s Gradle build system cleanup API cleanup and refactoring labels Jul 31, 2024
@liblit liblit requested a review from msridhar July 31, 2024 01:32
@liblit liblit self-assigned this Jul 31, 2024
@liblit liblit enabled auto-merge (rebase) July 31, 2024 01:32
Copy link

Test Results

  813 files  ±0    813 suites  ±0   3h 47m 10s ⏱️ - 21m 30s
  735 tests ±0    718 ✅ ±0   17 💤 ±0  0 ❌ ±0 
5 029 runs  ±0  4 908 ✅ ±0  121 💤 ±0  0 ❌ ±0 

Results for commit ad05d02. ± Comparison against base commit e15e365.

@liblit liblit merged commit 2cf2514 into wala:master Jul 31, 2024
11 checks passed
@liblit liblit deleted the remove-redundant-asSequence branch July 31, 2024 01:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cleanup API cleanup and refactoring gradle WALA’s Gradle build system
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants