Skip to content

Remove dead oracle base classes: NoRECBase and DocumentRemovalOracleBase#1346

Merged
mrigger merged 1 commit into
mainfrom
remove-dead-oracle-base-classes
Jul 13, 2026
Merged

Remove dead oracle base classes: NoRECBase and DocumentRemovalOracleBase#1346
mrigger merged 1 commit into
mainfrom
remove-dead-oracle-base-classes

Conversation

@tlmorgan24

Copy link
Copy Markdown
Collaborator

This PR deletes two abstract base classes in src/sqlancer/common/oracle/:

  • NoRECBase.java
  • DocumentRemovalOracleBase.java

Both classes had zero subclasses and zero references outside their own files, confirmed by a full grep across the source tree. These may be remnants of incomplete or speculative work. The standard software engineering approach is to remove dead code because version control already archives it. If either class is needed in the future, it can be recovered from git history. If the main source stores dead code, it can risk misleading contributors and introducing unnecessary cognitive load.

This said, there may be good reasons for keeping these particular classes that I am not aware of, so please let me know your thoughts.

@tlmorgan24
tlmorgan24 requested a review from mrigger July 11, 2026 12:06

@mrigger mrigger left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks!

@mrigger
mrigger merged commit 15b4fc8 into main Jul 13, 2026
22 of 25 checks passed
@mrigger
mrigger deleted the remove-dead-oracle-base-classes branch July 13, 2026 02:36
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.

2 participants