refactor(lite): drop 4 unused OOP wrapper classes over free functions
Each of these classes wrapped an existing free function with a one-line delegating method and was never instantiated anywhere (verified: no references outside their own translation unit, not even within their own .cpp beyond the definition) — the redundant "wrapper layer" pattern CLAUDE.md warns against: - LiteWalletLifecycleUiExecutionAdapter -> executeLiteWalletLifecycleUiRequest - LiteWalletServerSelectionUiExecutionAdapter -> executeLiteWalletServerSelectionUi - LiteWalletServerLifecycleReadinessPlanner -> evaluateLiteWalletServerLifecycleReadiness - LiteBackendActivationReadinessAdapter -> evaluateLiteBackendActivationReadiness The live free functions (the actual entry points used by the UI/runtime) are unchanged. Both targets build, test suite passes, source-hygiene clean. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
@@ -178,16 +178,4 @@ LiteWalletServerLifecycleReadinessResult evaluateLiteWalletServerLifecycleReadin
|
||||
const LiteWalletServerLifecycleReadinessInput& input,
|
||||
LiteWalletServerLifecycleReadinessOptions options = {});
|
||||
|
||||
class LiteWalletServerLifecycleReadinessPlanner {
|
||||
public:
|
||||
explicit LiteWalletServerLifecycleReadinessPlanner(
|
||||
LiteWalletServerLifecycleReadinessOptions options = {});
|
||||
|
||||
LiteWalletServerLifecycleReadinessResult evaluate(
|
||||
const LiteWalletServerLifecycleReadinessInput& input) const;
|
||||
|
||||
private:
|
||||
LiteWalletServerLifecycleReadinessOptions options_;
|
||||
};
|
||||
|
||||
} // namespace dragonx::wallet
|
||||
Reference in New Issue
Block a user