Skip to content

chore: remove unused spreadsheet-client callback interfaces#9728

Merged
web-padawan merged 1 commit into
mainfrom
chore/remove-dead-spreadsheet-callbacks
Jul 13, 2026
Merged

chore: remove unused spreadsheet-client callback interfaces#9728
web-padawan merged 1 commit into
mainfrom
chore/remove-dead-spreadsheet-callbacks

Conversation

@DiegoCardoso

Copy link
Copy Markdown
Contributor

The GWT spreadsheet client keeps 44 callback interface classes that nothing
uses. The live event path passes JS functions as
SpreadsheetServerRpcImpl.JsConsumer<T>, so these typed callbacks are a
leftover from an earlier design. Their names line up with the callback
setter methods (setCellSelectedCallback, …), which misleads readers into
thinking they are the live wiring when they are not.

Delete the callbacks/ package (44 files) and the commented-out test block
in SpreadsheetJsApiTest that referenced those types. No behavior change:
the package had zero imports anywhere, and the deleted tests were inside a
block comment. The client module still compiles and its unit tests pass.


🤖 Generated with Claude Code

The 44 callback interfaces and the commented-out test block were dead:
the live event path uses SpreadsheetServerRpcImpl.JsConsumer<T> and
nothing imported the callbacks package.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@sonarqubecloud

Copy link
Copy Markdown

@web-padawan web-padawan added this pull request to the merge queue Jul 13, 2026
Merged via the queue into main with commit d7241ed Jul 13, 2026
21 checks passed
@web-padawan web-padawan deleted the chore/remove-dead-spreadsheet-callbacks branch July 13, 2026 07:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants