Skip to content

Add string utils repeat chars x times #1401

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

Draft
wants to merge 5 commits into
base: master
Choose a base branch
from

Conversation

trungpnt-byte
Copy link

Thanks for your contribution to Apache Commons! Your help is appreciated!

Before you push a pull request, review this list:

  • Read the contribution guidelines for this project.
  • Run a successful build using the default Maven goal with mvn; that's mvn on the command line by itself.
  • Write unit tests that match behavioral changes, where the tests fail if the changes to the runtime are not applied. This may not always be possible but is a best-practice.
  • Write a pull request description that is detailed enough to understand what the pull request does, how, and why.
  • Each commit in the pull request should have a meaningful subject line and body. Note that commits might be squashed by a maintainer on merge.

…n, boolean)

TODO - Fix Javadoc plugin issue

Signed-off-by: trungpnt-byte <[email protected]>
Signed-off-by: trungpnt-byte <[email protected]>
Signed-off-by: trungpnt-byte <[email protected]>
…sibleLen instead of constantly multiplying existing len by 2

Signed-off-by: trungpnt-byte <[email protected]>
@ppkarwasz
Copy link
Contributor

Hi @trungpnt-byte,

This PR looks like a modified version of your earlier proposal in #1398. Could you take a moment to respond to the questions raised there? Specifically:

Could you share more about how you use it and why it might be broadly useful?

Understanding the broader use case will help us assess whether this addition makes sense for the library as a whole.

@garydgregory
Copy link
Member

Hello @trungpnt-byte,

I don't think we want to grow the public API in this class with these kinds of hyper-specifc and complex methods beyond what we already have.

This looks like a duplicate of #1398, which causes additional churn for maintainers.

All the comments from #1398 stand IMO.

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.

3 participants