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

Bug: StopStrategies&StopStrategies will throw unformatted message #97

Open
Technoboy- opened this issue Oct 20, 2020 · 1 comment · May be fixed by #98
Open

Bug: StopStrategies&StopStrategies will throw unformatted message #97

Technoboy- opened this issue Oct 20, 2020 · 1 comment · May be fixed by #98

Comments

@Technoboy-
Copy link

Reproduce:

StopStrategies.stopAfterAttempt(0);

It will throw print:

java.lang.IllegalArgumentException: maxAttemptNumber must be >= 1 but is %d [0]

The reason is for guava will format "%s", but we input "%d".

@Technoboy- Technoboy- changed the title Bug: StopStrategies&StopStrategies will throw unformat message Bug: StopStrategies&StopStrategies will throw unformatted message Oct 20, 2020
Technoboy- added a commit to Technoboy-/guava-retrying that referenced this issue Oct 20, 2020
@itning
Copy link

itning commented Sep 7, 2021

Since this project has not been maintained for a long time, I fork this project and fix the problem
https://github.com/itning/guava-retrying3

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 a pull request may close this issue.

2 participants