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

[#4409] Improvement(JDBCBackend.java): replace switch with if statement #4427

Closed
wants to merge 3 commits into from

Conversation

mushroom528
Copy link

What changes were proposed in this pull request?

The switch in JDBCBackend.java (line 371) can be replaced by an if statement.

Why are the changes needed?

Improvement: #4409

Does this PR introduce any user-facing change?

NO

How was this patch tested?

Exist testers

@jerryshao
Copy link
Contributor

Hi @mushroom528 thank a lot for your contribution. I think we deliberately chose switch..case instead of if..else here, because we will add more relation types here later on. So I think it isn't worth change. Still, thanks a lot for your contribution.

@mushroom528
Copy link
Author

mushroom528 commented Aug 8, 2024

all right😊
thanks you!

@jerryshao
Copy link
Contributor

Thanks @mushroom528 for your understanding, I'm going to close this PR, you can work on other issues you're interested.

@jerryshao jerryshao closed this Aug 8, 2024
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