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

MINOR: Collection/Option usage simplification via methods introduced in Java 9 or later #18305

Open
wants to merge 3 commits into
base: trunk
Choose a base branch
from

Conversation

ijuma
Copy link
Contributor

@ijuma ijuma commented Dec 23, 2024

Relevant methods:

  1. List.of, Set.of, Map.of and similar.
  2. Optional: isEmpty, stream.
  3. toList collector (only in modules that require Java 17).

Committer Checklist (excluded from commit message)

  • Verify design and implementation
  • Verify test coverage and CI build status
  • Verify documentation (including upgrade notes)

@github-actions github-actions bot added triage PRs from the community streams core Kafka Broker consumer tools connect performance kraft mirror-maker-2 storage Pull requests that target the storage module tiered-storage Related to the Tiered Storage feature KIP-932 Queues for Kafka generator RPC and Record code generator clients labels Dec 23, 2024
@ijuma
Copy link
Contributor Author

ijuma commented Dec 23, 2024

Lots of test failures - will investigate them.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
clients connect consumer core Kafka Broker generator RPC and Record code generator KIP-932 Queues for Kafka kraft mirror-maker-2 performance storage Pull requests that target the storage module streams tiered-storage Related to the Tiered Storage feature tools triage PRs from the community
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant