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

FilterOutputStreamSlowMultibyteWrite warns #2026

Merged
merged 2 commits into from
Jan 7, 2022

Conversation

schlosna
Copy link
Contributor

@schlosna schlosna commented Jan 7, 2022

Before this PR

#2024 missed adding @AutoService(BugChecker.class) so the check wasn't registered with error-prone

After this PR

==COMMIT_MSG==
Enable FilterOutputStreamSlowMultibyteWrite at warning level to identify
inefficient FilterOuputStream implementations.

Subclasses of FilterOutputStream should provide a more efficient
implementation of write(byte[], int, int) to avoid slow writes.
==COMMIT_MSG==

Possible downsides?

Enable FilterOutputStreamSlowMultibyteWrite at warning level to identify
inefficient FilterOuputStream implementations.
@changelog-app
Copy link

changelog-app bot commented Jan 7, 2022

Generate changelog in changelog/@unreleased

Type

  • Feature
  • Improvement
  • Fix
  • Break
  • Deprecation
  • Manual task
  • Migration

Description

Enable FilterOutputStreamSlowMultibyteWrite at warning level to identify
inefficient FilterOuputStream implementations.

Subclasses of FilterOutputStream should provide a more efficient
implementation of write(byte[], int, int) to avoid slow writes.

Check the box to generate changelog(s)

  • Generate changelog entry

@policy-bot policy-bot bot requested a review from jkozlowski January 7, 2022 17:11
@bulldozer-bot bulldozer-bot bot merged commit fd1e34c into develop Jan 7, 2022
@bulldozer-bot bulldozer-bot bot deleted the ds/FilterOutputStreamSlowMultibyteWrite branch January 7, 2022 17:17
@svc-autorelease
Copy link
Collaborator

Released 4.55.0

This was referenced Jan 7, 2022
bulldozer-bot bot pushed a commit to palantir/witchcraft-api that referenced this pull request Jan 7, 2022
###### _excavator_ is a bot for automating changes across repositories.

Changes produced by the roomba/latest-baseline-oss check.

# Release Notes
## 4.55.0
| Type | Description | Link |
| ---- | ----------- | ---- |
| Improvement | Enable FilterOutputStreamSlowMultibyteWrite at warning level to identify<br>inefficient FilterOuputStream implementations.<br><br>Subclasses of FilterOutputStream should provide a more efficient<br>implementation of `write(byte[], int, int)` to avoid slow writes. | palantir/gradle-baseline#2026 |



To enable or disable this check, please contact the maintainers of Excavator.
This was referenced Jan 7, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants