Commit fab8926
refactor: remove duplicate getRightItem call in TablesNamesFinder (#2370)
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.
Co-authored-by: zhezzz <taylorlzz@outlook.com>1 parent 484eaa1 commit fab8926
File tree
2 files changed
+2
-1
lines changed- src/main/java/net/sf/jsqlparser
- statement/select
- util
2 files changed
+2
-1
lines changedLines changed: 2 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
277 | 277 | | |
278 | 278 | | |
279 | 279 | | |
| 280 | + | |
280 | 281 | | |
281 | 282 | | |
282 | 283 | | |
283 | 284 | | |
| 285 | + | |
284 | 286 | | |
285 | 287 | | |
286 | 288 | | |
| |||
Lines changed: 0 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1379 | 1379 | | |
1380 | 1380 | | |
1381 | 1381 | | |
1382 | | - | |
1383 | 1382 | | |
1384 | 1383 | | |
1385 | 1384 | | |
| |||
0 commit comments