rholder / guava-retrying

This is a small extension to Google's Guava library to allow for the creation of configurable retrying strategies for an arbitrary function call, such as something that talks to a remote service with flaky uptime.
Apache License 2.0
1.43k stars 275 forks source link

doubts about SimpleTimeLimiter has private Constructor,but FixedAttemptTimeLimit new it? #96

Closed xiaozhiliaoo closed 3 years ago

xiaozhiliaoo commented 4 years ago

SimpleTimeLimiter has private Constructor, but com.github.rholder.retry.AttemptTimeLimiters.FixedAttemptTimeLimit use new SimpleTimeLimiter() , so the code compile error,how can i fix it?