Skip to content

Conversation

@dongjoon-hyun
Copy link
Member

What changes were proposed in this pull request?

This PR aims to use Java ArrayList constructors instead of Lists.newArrayList in Java code and add a new checkstyle rule to ban com.google.common.collect.Lists.

Why are the changes needed?

Java native usage is simpler than the Lists.newArrayList wrapper.

- List<Object> out = Lists.newArrayList();
+ List<Object> out = new ArrayList<>();

Does this PR introduce any user-facing change?

No.

How was this patch tested?

Pass the CIs.

Was this patch authored or co-authored using generative AI tooling?

No.

@github-actions github-actions bot added the JAVA label Jan 4, 2026
@dongjoon-hyun dongjoon-hyun added this to the 3.0.0 milestone Jan 4, 2026
@dongjoon-hyun dongjoon-hyun changed the title ORC-2055: Use Java ArrayList constructors instead of Lists.newArrayList in Java code ORC-2055: Use Java ArrayList constructors instead of Lists.newArrayList Jan 4, 2026
@dongjoon-hyun
Copy link
Member Author

Merged to main.

@dongjoon-hyun dongjoon-hyun deleted the ORC-2055 branch January 4, 2026 02:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant