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

Allow CompositeResourceAccessor to have a non-fixed size list of ResourceAccessor so that the list can be added to/removed from #2650

Merged
merged 3 commits into from
Mar 29, 2022

Conversation

wwillard7800
Copy link
Contributor

Environment

Liquibase Version:

Liquibase Integration & Version: <Pick one: CLI, maven, gradle, spring boot, servlet, etc.>

Liquibase Extension(s) & Version:

Database Vendor & Version:

Operating System Type & Version:

Pull Request Type

  • Bug fix (non-breaking change which fixes an issue.)
  • Enhancement/New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)

Description

A clear and concise description of the issue being addressed. Additional guidance here.

  • Describe the actual problematic behavior.
  • Ensure private information is redacted.

Steps To Reproduce

List the steps to reproduce the behavior.

  • Please be precise and ensure private information is redacted
  • Include things like
    • Files used - sql scripts, changelog file(s), property file(s), config files, POM Files
    • Exact commands used - CLI, maven, gradle, spring boot, servlet, etc.

Actual Behavior

A clear and concise description of what happens in the software before this pull request.

  • Include console output if relevant
  • Include log files if available.

Expected/Desired Behavior

A clear and concise description of what happens in the software after this pull request.

Screenshots (if appropriate)

If applicable, add screenshots to help explain your problem.

Additional Context

Add any other context about the problem here.

Fast Track PR Acceptance Checklist:

Need Help?

Come chat with us on our discord channel

…urceAccessor

so that the list can be added to/removed from

DAT-9772
@github-actions
Copy link

github-actions bot commented Mar 17, 2022

Unit Test Results

  4 125 files  ±0    4 125 suites  ±0   39m 3s ⏱️ + 5m 3s
  4 340 tests ±0    4 126 ✔️ ±0     214 💤 ±0  0 ±0 
47 080 runs  ±0  42 448 ✔️ ±0  4 632 💤 ±0  0 ±0 

Results for commit 26bf3b2. ± Comparison against base commit 987947e.

♻️ This comment has been updated with latest results.

@@ -13,7 +13,8 @@
private List<ResourceAccessor> resourceAccessors;

public CompositeResourceAccessor(ResourceAccessor... resourceAccessors) {
this.resourceAccessors = Arrays.asList(CollectionUtil.createIfNull(resourceAccessors));
this.resourceAccessors = new ArrayList<>(); //Arrays.asList(CollectionUtil.createIfNull(resourceAccessors));
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
this.resourceAccessors = new ArrayList<>(); //Arrays.asList(CollectionUtil.createIfNull(resourceAccessors));
this.resourceAccessors = new ArrayList<>();

@suryaaki2 suryaaki2 merged commit fe2dd6f into master Mar 29, 2022
@suryaaki2 suryaaki2 deleted the DAT-9772 branch March 29, 2022 20:00
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.

None yet

4 participants