Repository navigation
StorageManager tech debt 4/6: never-used parameters - #14561
Open
DaanHoogland wants to merge 1 commit into
Open
DaanHoogland wants to merge 1 commit into
DaanHoogland wants to merge 1 commit into
Conversation
Part of #12316 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
1 task done
7 tasks done
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## ghi12316-storage-rawtypes #14561 +/- ##
============================================================
Coverage ? 3.88%
============================================================
Files ? 493
Lines ? 42571
Branches ? 8069
============================================================
Hits ? 1653
Misses ? 40687
Partials ? 231
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
This branch has not been deployed
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.
Depends on #14560
Description
Stack for #12316 (StorageManager tech debt), one PR per item of the issue checklist, review only the top commit of each:
SearchCriteria.addAndusagesThis PR (4/6) removes never-used parameters from non-framework methods:
StorageManager.cleanupStorage(boolean recurring)→cleanupStorage()(callers:StorageManagerImpl,GarbageCollectingStoragePoolAllocator)cleanupSecondaryStorage(boolean recurring)→cleanupSecondaryStorage()sendToPool(long poolId, Command)andsendToPool(long poolId, Commands), which ignored both parameters, returnednulland had no callers (every caller uses theStoragePooloverloads)The remaining unused parameters belong to framework contracts (
configure,ClusterManagerListener) and stay.Part of #12316
Types of changes
🤖 Generated with Claude Code