Skip to content

Conversation

@Reranko05
Copy link

This PR fixes IO-865.

ThrottledInputStream.Builder#setMaxBytesPerSecond(long) currently returns void,
which breaks the documented builder chaining example.

This change makes the method return the builder instance, enabling fluent usage.
The change is source-compatible and aligns with the existing Builder API design.

@garydgregory
Copy link
Member

-1 and closing, this is not 3.0, we are stlll in the 2.x release line.

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.

2 participants