Skip to content

Fix most of the build warnings #1476

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

Merged
merged 1 commit into from
Aug 9, 2024

Conversation

stIncMale
Copy link
Member

The following commit introduced many warnings 01aff5a. Many of them were then fixed in cd297a1. This PR fixes most of the ones that are still present.

mongodb@01aff5a
Many of them were then fixed in
mongodb@cd297a1
This commit fixes most of the ones that are still present
@stIncMale stIncMale requested a review from vbabanin August 9, 2024 02:57
@stIncMale stIncMale self-assigned this Aug 9, 2024
@@ -68,7 +68,7 @@ class OperationUnitSpecification extends Specification {
[9, 0]: 25,
]

static int getMaxWireVersionForServerVersion(List<Integer> serverVersion) {
static Integer getMaxWireVersionForServerVersion(List<Integer> serverVersion) {
Copy link
Member Author

Choose a reason for hiding this comment

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

I don't understand the warning we had for this method, but the change removed that warning. I don't want to spend more time on investigating the weirdness of Groovy.

Copy link
Member

@vbabanin vbabanin left a comment

Choose a reason for hiding this comment

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

LGTM! Thanks for addressing those issues!

@stIncMale stIncMale merged commit 5a94048 into mongodb:master Aug 9, 2024
59 checks passed
@stIncMale stIncMale deleted the fix-build-warnings branch August 9, 2024 06:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants