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

simplify the NamedValueContainers structure #1414

Merged
merged 3 commits into from
Sep 12, 2024

Conversation

amorton
Copy link
Contributor

@amorton amorton commented Sep 12, 2024

Fixes #1411

all containers are now ordered, removed interfaces no longer needed

What this PR does:

Which issue(s) this PR fixes:
Fixes #

Checklist

  • Changes manually tested
  • Automated Tests added/updated
  • Documentation added/updated
  • CLA Signed: DataStax CLA

Fixes #1411

all containers are now ordered, removed interfaces no longer needed
@amorton amorton requested a review from a team as a code owner September 12, 2024 02:02
.append("{columnName=")
.append(name().getName())
.append(", value=")
.append(value())
Copy link
Contributor

Choose a reason for hiding this comment

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

idea: include type (getClass()) of value in parenthesis? (often good to know if it's String "1" or Long 1 f.ex)

}

public JsonNamedValueContainer(Collection<JsonNamedValue> values) {
super();
Copy link
Contributor

Choose a reason for hiding this comment

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

I assume super(values) would not work?

}

public NamedValueContainer(Collection<NvT> values) {
super();
Copy link
Contributor

Choose a reason for hiding this comment

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

(same as earlier -- assuming super(values); wouldn't work due to... type mismatch or something?)

Copy link
Contributor

@tatu-at-datastax tatu-at-datastax left a comment

Choose a reason for hiding this comment

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

LGTM

@amorton amorton merged commit 115d4d6 into main Sep 12, 2024
3 checks passed
@amorton amorton deleted the ajm/simplify-NamedValueContainers branch September 12, 2024 22:52
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.

Simplify the NamedValueContainers
2 participants