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

GEODE-10261: VMProvider.invokeAsync uses appropriate parameterization. #7631

Merged
merged 1 commit into from Jun 15, 2022

Conversation

yozaner1324
Copy link
Contributor

@yozaner1324 yozaner1324 commented Apr 27, 2022

For all changes:

  • Is there a JIRA ticket associated with this PR? Is it referenced in the commit message?

  • Has your PR been rebased against the latest commit within the target branch (typically develop)?

  • Is your initial contribution a single, squashed commit?

  • Does gradlew build run cleanly?

  • Have you written or updated unit tests to verify your changes?

  • If adding new dependencies to the code, are these dependencies licensed in a way that is compatible for inclusion under ASF 2.0?

Copy link
Contributor

@DonalEvans DonalEvans left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great clean-up! At the risk of adding more work, if you do an IntelliJ search for AsyncInvocation[^<;] with case sensitivity and regex matching enabled and filter the results to "Except Comments and String Literals", you can find all the places in the codebase that AsyncInvocation is used without parameterization. There only seem to be about 20 classes left, so with a bit more work, you could eliminate all of the places where this class is used without parameterization.

Copy link
Contributor

@jake-at-work jake-at-work left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Since this appears to be a mostly automated refactor I am not going to review every file but the quick look is great. Thanks for cleaning up all these warnings!!!

@yozaner1324 yozaner1324 force-pushed the GEODE-10261 branch 2 times, most recently from 39f2ce5 to 4115723 Compare April 29, 2022 16:38
@yozaner1324 yozaner1324 force-pushed the GEODE-10261 branch 3 times, most recently from 8364a87 to c077a23 Compare May 4, 2022 23:22
Copy link
Contributor

@upthewaterspout upthewaterspout left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good. If you can, please update the description with a little more detail on what you changed. For example:

Add generic parameters to AsyncInvocation variables where they were missing.

Cleaned up places where there was array of size 1 when it could have just been a variable.

Thanks!

Copy link
Contributor

@demery-pivotal demery-pivotal left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approving the changes in geode-dunit

* Cleanup use of AsyncInvocation.
* Add generic parameters to AsyncInvocation variables where they were missing.
* Cleaned up by changing single element arrays to variables.
@DonalEvans DonalEvans merged commit c9c772d into apache:develop Jun 15, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet