Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Cleanup around ServerInfo#27664

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Open
losipiuk wants to merge3 commits intotrinodb:master
base:master
Choose a base branch
Loading
fromlosipiuk:lukaszos/add-test-for-serverinfo-serializ-a696a8

Conversation

@losipiuk
Copy link
Member

Release notes

(x) This is not user-visible or is docs only, and no release notes are required.
( ) Release notes are required. Please propose a release note for me.
( ) Release notes are required, with the following suggested text:

We do not depend on equality being done only on nodeVersion andenvironment anywhere in the codebase.
@losipiuklosipiukforce-pushed thelukaszos/add-test-for-serverinfo-serializ-a696a8 branch fromf9d7cf5 to987cd13CompareDecember 16, 2025 15:51
@losipiuklosipiukforce-pushed thelukaszos/add-test-for-serverinfo-serializ-a696a8 branch from987cd13 to868cfbdCompareDecember 16, 2025 17:37
Comment on lines -104 to -106
if (this ==o) {
returntrue;
}
Copy link
Member

@martintmartintDec 16, 2025
edited
Loading

Choose a reason for hiding this comment

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

Why? It's a good short-circuit

Copy link
Member

Choose a reason for hiding this comment

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

it's interesting that IntelliJ-generated equals doesn't include it (it looks exactly as the code in this PR).
I typically would use IntelliJ-generated unless there is a reason not to.
Wonder why they don't include this short-circuit check. Is it because it adds one more branch to the code?

Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@martintmartintmartint left review comments

@wendigowendigowendigo approved these changes

@findepifindepiAwaiting requested review from findepi

Assignees

No one assigned

Labels

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

4 participants

@losipiuk@martint@wendigo@findepi

[8]ページ先頭

©2009-2025 Movatter.jp