test: simplify SingleRetryTest callables#8120
Merged
akarnokd merged 1 commit intoMay 22, 2026
Merged
Conversation
🐷 TruffleHog + Entropy Beauty ScanAverage entropy of changed code: 5.065 bits/char Changed files entropy: ✅ No secrets or suspicious high-entropy strings found. Mid-4 beauty heuristic in action — powered by our entropy chats! 😊 |
akarnokd
approved these changes
May 22, 2026
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## 4.x #8120 +/- ##
=========================================
Coverage 98.76% 98.77%
- Complexity 6871 6874 +3
=========================================
Files 769 769
Lines 48659 48659
Branches 6516 6516
=========================================
+ Hits 48059 48061 +2
+ Misses 459 457 -2
Partials 141 141 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Part of #8080.
This updates
SingleRetryTestas one small cleanup chunk by replacing old anonymousCallableandPredicateimplementations with lambdas. The test behavior is unchanged, and the now-unused imports are removed.Tests run:
JAVA_HOME=/tmp/rxjava-jdk26/Contents/Home ./gradlew --no-daemon test --tests io.reactivex.rxjava4.single.SingleRetryTestJAVA_HOME=/tmp/rxjava-jdk26/Contents/Home ./gradlew --no-daemon checkstyleTestgit diff --check