Closed rowysock closed 5 years ago
RetryWhen.retryWhenInstanceOf has vararg parameter with generic type, this produces Java warning in code that is using this method. https://docs.oracle.com/javase/tutorial/java/generics/nonReifiableVarargsType.html#vulnerabilities. It should be enough to add @SafeVarargs to RetryWhen.retryWhenInstanceOf method Also possible workaround is to use retryIf(e -> e instanceOf X) instead
Wrong repo, closing
RetryWhen.retryWhenInstanceOf has vararg parameter with generic type, this produces Java warning in code that is using this method. https://docs.oracle.com/javase/tutorial/java/generics/nonReifiableVarargsType.html#vulnerabilities. It should be enough to add @SafeVarargs to RetryWhen.retryWhenInstanceOf method Also possible workaround is to use retryIf(e -> e instanceOf X) instead