fix(TypeHandlerLibrary): move StringRepresentationTypeHandlerTest's inner class to the end - #5389
fix(TypeHandlerLibrary): move StringRepresentationTypeHandlerTest's inner class to the end#5389soloturn wants to merge 1 commit into
Conversation
…nner class to the end Checkstyle's InnerTypeLast rule wants init blocks, constructors, fields and methods before inner types - RecordingHandler was declared first, ahead of the field and @test methods that use it. Already on develop (via 962df32), so every PR built since has been failing checkstyle on a file they never touched. No behavior change, just reordered. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (1)
Included review availability: Your plan provides up to 8 included reviews per hour; 4 remain after this review. 📝 WalkthroughSummary by CodeRabbit
WalkthroughThe change moves the ChangesTest helper relocation
Estimated code review effort: 1 (Trivial) | ~2 minutes Merge Risk: ⚪ Minimal · up to This is a localized test-file reordering to resolve a checkstyle violation, with no product behavior change; no actionable merge-blocking risk remains after normal checks and review. Suggested reviewers: Poem
🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
✨ Finishing Touches 💡 1📝 Generate docstrings 💡
🧪 Generate unit tests (beta)
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 |
…ss to the end Same InnerTypeLast violation fixed in #5389 (which touches develop but is still unmerged, blocked on review) - duplicating it here directly so this PR's own checkstyle gate isn't held hostage by that PR's merge timing. No functional change. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
…ss to the end Same InnerTypeLast violation fixed in #5389 (which touches develop but is still unmerged, blocked on review) - duplicating it here directly so this PR's own checkstyle gate isn't held hostage by that PR's merge timing. No functional change. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Found while checking why several other open PRs' checkstyle jobs were failing:
StringRepresentationTypeHandlerTest.java(added in 962df32, already ondevelop) has anInnerTypeLastviolation -RecordingHandleris declared before the field/methods that use it, and checkstyle wants inner types last. Since checkstyle scans the whole module, this fails the gate for every subsequent PR regardless of what they actually touch - confirmed the identical violation in at least #5374, #5376, #5387's build logs.No behavior change, just reordered so
RecordingHandlercomes after the field and@Testmethods.Test plan
:subsystems:TypeHandlerLibrary:checkstyleTestpasses clean (was failing with this violation before).