Skip to content

[mysql] Use automatic resource management to replace 'try - finally' code block.#2552

Merged
whhe merged 1 commit intoapache:masterfrom
FlechazoW:master
Oct 16, 2023
Merged

[mysql] Use automatic resource management to replace 'try - finally' code block.#2552
whhe merged 1 commit intoapache:masterfrom
FlechazoW:master

Conversation

@FlechazoW
Copy link
Copy Markdown
Contributor

This is an optimization of code structure. Use automatic resource management to replace 'try - finally' code block because of JdbcConnection implemented AutoCloseable interface.

@whhe whhe merged commit da3013d into apache:master Oct 16, 2023
e-mhui pushed a commit to e-mhui/flink-cdc-connectors that referenced this pull request Oct 18, 2023
ChaomingZhangCN pushed a commit to ChaomingZhangCN/flink-cdc that referenced this pull request Jan 13, 2025
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