Skip to content

Comments

[SPARK-47056][TESTS] Add scalastyle and checkstyle rules to ban FileBackedOutputStream#45116

Closed
dongjoon-hyun wants to merge 2 commits intoapache:masterfrom
dongjoon-hyun:SPARK-47056
Closed

[SPARK-47056][TESTS] Add scalastyle and checkstyle rules to ban FileBackedOutputStream#45116
dongjoon-hyun wants to merge 2 commits intoapache:masterfrom
dongjoon-hyun:SPARK-47056

Conversation

@dongjoon-hyun
Copy link
Member

@dongjoon-hyun dongjoon-hyun commented Feb 15, 2024

What changes were proposed in this pull request?

This PR aims to add scalastyle and checkstyle rules to ban FileBackedOutputStream.

Why are the changes needed?

We don't use this but this will explicitly prevent any accidental usage of FileBackedOutputStream in the future.

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 BUILD label Feb 15, 2024
@dongjoon-hyun
Copy link
Member Author

Thank you, @HyukjinKwon !

@dongjoon-hyun
Copy link
Member Author

Scala and Java linters passed. Merged to master.

Screenshot 2024-02-15 at 01 26 10

@dongjoon-hyun dongjoon-hyun deleted the SPARK-47056 branch February 15, 2024 09:27
snmvaughan pushed a commit to snmvaughan/spark that referenced this pull request Mar 26, 2024
…FileBackedOutputStream`

This PR aims to add `scalastyle` and `checkstyle` rules to ban `FileBackedOutputStream`.

We don't use this but this will explicitly prevent any accidental usage of `FileBackedOutputStream` in the future.

No.

Pass the CIs.

No.

Closes apache#45116 from dongjoon-hyun/SPARK-47056.

Authored-by: Dongjoon Hyun <dhyun@apple.com>
Signed-off-by: Dongjoon Hyun <dhyun@apple.com>
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.

2 participants