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

Tidy ExecutorService code, remove superfluous map access (Issue 1841) #1842

Merged
merged 3 commits into from
Aug 31, 2022

Conversation

jamey-clari
Copy link
Contributor

@jamey-clari jamey-clari commented May 13, 2021

Description

Tidy ExecutorService code, remove superfluous imports and map access.

Tidy ExecutorService code, remove superfluous imports and map access.
Remove pointless catch and wrapped re-throw from AbstractJdbcDatabase
@molivasdat
Copy link
Contributor

Hi @jamey-clari
If the build succeeds in GitHub Actions there will be a snapshot build of this PR.

Here's what happens next:
A member of the Liquibase team will take a look at your contribution and may suggest:

The PR will be prioritized according to our internal development and testing capacity.

We’ll let you know when it’s ready to move to the next step or if any changes are needed.

@molivasdat molivasdat added DBAll ImpactLow IntegrationAny RiskMedium Changes that require more testing or that affect many different code paths. Severity4 TypeEnhancement labels May 14, 2021
@jamey-clari
Copy link
Contributor Author

Hi @jamey-clari
If the build succeeds in GitHub Actions there will be a snapshot build of this PR.

Here's what happens next:
A member of the Liquibase team will take a look at your contribution and may suggest:

The PR will be prioritized according to our internal development and testing capacity.

We’ll let you know when it’s ready to move to the next step or if any changes are needed.

NP @molivasdat - I'd expect things to wind their way through the pipeline for a bit.

@jamey-clari
Copy link
Contributor Author

It looks like some sort of surefire test failed for only Java 11. It's hard to imagine that any of my edits were JDK version sensitive let alone to version 11 but not 8 and 16. Is it possible the build had some sort of transient issue and simply needs to be retried?

@kataggart kataggart changed the title Issue 1841 Tidy ExecutorService code, remove superfluous imports and map access (Issue 1841) Aug 11, 2022
@nvoxland nvoxland self-requested a review as a code owner August 30, 2022 05:20
@nvoxland nvoxland added the SafeToBuild Indicates that a particular PR contains changes which are safe to build using GitHub actions label Aug 30, 2022
Copy link
Contributor

@nvoxland nvoxland left a comment

Choose a reason for hiding this comment

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

Code review and test results:

Things to be aware of:

  • The changes make sense, mainly cleanup work
  • No change in behavior, so existing tests should would anything changed

Things to worry about:

  • Nothing

@github-actions
Copy link

Unit Test Results

  4 620 files  ±0    4 620 suites  ±0   43m 27s ⏱️ + 6m 17s
  4 617 tests ±0    4 402 ✔️ +4     215 💤  - 4  0 ±0 
54 576 runs  ±0  49 556 ✔️ +4  5 020 💤  - 4  0 ±0 

Results for commit c15cc05. ± Comparison against base commit e742a88.

@XDelphiGrl XDelphiGrl changed the title Tidy ExecutorService code, remove superfluous imports and map access (Issue 1841) Tidy ExecutorService code, remove superfluous map access (Issue 1841) Aug 31, 2022
Copy link
Contributor

@XDelphiGrl XDelphiGrl left a comment

Choose a reason for hiding this comment

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

  • PR makes the code in ExecutorService and AbstractJdbcDatabase classes more readable.
  • Fix prevents duplication of stack trace in log output.
  • No additional testing required.

APPROVED

@nvoxland nvoxland merged commit 47df88e into liquibase:master Aug 31, 2022
@kataggart kataggart added this to the NEXT milestone Aug 31, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
autocandidate DBAll ImpactLow IntegrationAny RiskMedium Changes that require more testing or that affect many different code paths. SafeToBuild Indicates that a particular PR contains changes which are safe to build using GitHub actions Severity4 sprint2022-32 TypeEnhancement
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

liquibase.executor.ExecutorService getExecutorValue superfluous code
6 participants