Skip to content

refactor: deprecate Join.getRightItem() and remove duplicate call#2370

Merged
manticore-projects merged 1 commit intoJSQLParser:masterfrom
zhezzz:refactor/remove-duplicate-rightitem-call
Jan 24, 2026
Merged

refactor: deprecate Join.getRightItem() and remove duplicate call#2370
manticore-projects merged 1 commit intoJSQLParser:masterfrom
zhezzz:refactor/remove-duplicate-rightitem-call

Conversation

@zhezzz
Copy link
Contributor

@zhezzz zhezzz commented Jan 24, 2026

  1. Mark Join.getRightItem() and setRightItem() as @deprecated since they return the same value as getFromItem().
  2. Remove the duplicate call to join.getRightItem().accept(this, context) in TablesNamesFinder.visit() method, as join.getFromItem() already processes the same FromItem object.

1. Mark Join.getRightItem() and setRightItem() as @deprecated since they return the same value as getFromItem().
2. Remove the duplicate call to join.getRightItem().accept(this, context) in TablesNamesFinder.visit() method, as join.getFromItem() already processes the same FromItem object.
@manticore-projects
Copy link
Contributor

Thank you much for your contribution! Welcome to the project! I will merge asap.

@manticore-projects manticore-projects merged commit fab8926 into JSQLParser:master Jan 24, 2026
3 of 6 checks passed
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