Minor cleanup, no behavior changes#1487
Conversation
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: ASSERTIVE Plan: Pro Run ID: 📒 Files selected for processing (1)
WalkthroughThis PR applies localized syntactic refactors across multiple files: consolidating nested conditionals (NullAway.java, AbstractFieldContractHandler.java), converting instanceof + cast patterns to Java pattern-matching (DataFlow, AccessPath, ContractCheckHandler, EnsuresNonNullIfHandler, TypeSubstitutionUtils), using the diamond operator (EnsuresNonNullHandler), and replacing an explicit null comparison with Objects.nonNull in ErrorBuilder. Control flow and public APIs are unchanged. Possibly related PRs
Suggested reviewers
🚥 Pre-merge checks | ✅ 2 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (2 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
Tip Try Coding Plans. Let us write the prompt for your AI agent so you can ship faster (with fewer bugs). Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
msridhar
left a comment
There was a problem hiding this comment.
Thanks for these changes!
Codecov Report❌ Patch coverage is Additional details and impacted files@@ Coverage Diff @@
## master #1487 +/- ##
============================================
- Coverage 88.44% 88.43% -0.01%
+ Complexity 2792 2790 -2
============================================
Files 99 99
Lines 9291 9279 -12
Branches 1877 1872 -5
============================================
- Hits 8217 8206 -11
Misses 524 524
+ Partials 550 549 -1 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
Cleanup a few things I noticed while browsing the source. No logic changes.
Summary by CodeRabbit
Refactor
Style