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 an unnecessary argument injection #1345

Merged
merged 2 commits into from
Dec 9, 2023

Conversation

liblit
Copy link
Contributor

@liblit liblit commented Dec 9, 2023

We don't need to inject a Project argument into this custom task's constructor. The JavaExec superclass already has a perfectly good getProject method, and the value that it returns will already have been initialized before we are initializing this custom task's fields.

We don't need to inject a `Project` argument into this custom task's
constructor.  The `JavaExec` superclass already has a perfectly good
`getProject` method, and the value that it returns will already have
been initialized before we are initializing this custom task's fields.
@liblit liblit added gradle WALA’s Gradle build system cleanup API cleanup and refactoring low-priority A lower priority bug for WALA developers, but one for which we will happily accept a PR labels Dec 9, 2023
@liblit liblit self-assigned this Dec 9, 2023
Copy link

github-actions bot commented Dec 9, 2023

Test Results

   455 files  ±0     455 suites  ±0   2h 34m 54s ⏱️ ±0s
   731 tests ±0     714 ✔️ ±0  17 💤 ±0  0 ±0 
2 808 runs  ±0  2 738 ✔️ ±0  70 💤 ±0  0 ±0 

Results for commit 7315e02. ± Comparison against base commit 1144a18.

@liblit liblit enabled auto-merge (rebase) December 9, 2023 21:54
@liblit liblit merged commit e9e561e into wala:master Dec 9, 2023
6 checks passed
@liblit liblit deleted the remove-unnecessary-injection branch December 9, 2023 22:01
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 low-priority A lower priority bug for WALA developers, but one for which we will happily accept a PR
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants