Skip to content

Remove write only objects#8178

Merged
kokosing merged 4 commits intotrinodb:masterfrom
ksobolew:ksob/remove-write-only-objects
Apr 25, 2022
Merged

Remove write only objects#8178
kokosing merged 4 commits intotrinodb:masterfrom
ksobolew:ksob/remove-write-only-objects

Conversation

@ksobolew
Copy link
Contributor

@ksobolew ksobolew commented Jun 2, 2021

This is a result of going through Trino code with the new inspection added in IntelliJ IDEA 2021.2

The removed objects are in some years-old code, and they were either never actually read from, or they were left behind after a cleanup. I don't think any of this is actually a bug (with the possible exception of the one in TrinoStatement#setEscapeProcessing).

@cla-bot cla-bot bot added the cla-signed label Jun 2, 2021
@ksobolew ksobolew requested review from Praveen2112 and findepi June 2, 2021 14:12
@ksobolew ksobolew force-pushed the ksob/remove-write-only-objects branch from f2f8b36 to 50d8f23 Compare June 7, 2021 11:34
@findepi
Copy link
Member

findepi commented Jun 7, 2021

lgtm % #8178 (comment)

@ksobolew ksobolew force-pushed the ksob/remove-write-only-objects branch from 50d8f23 to cd5b134 Compare June 7, 2021 13:25
@ksobolew ksobolew force-pushed the ksob/remove-write-only-objects branch from cd5b134 to 8e5fa14 Compare December 20, 2021 12:23
ksobolew added 4 commits April 7, 2022 12:57
This is a leftover from commit 967735d.
Obsoleted by commit 6335320.
It was never read from, and the `setEscapeProcessing` call has no effect
on Trino `Statement`s.
@ksobolew ksobolew force-pushed the ksob/remove-write-only-objects branch from 8e5fa14 to 31f8caa Compare April 7, 2022 11:00
@github-actions github-actions bot added the jdbc Relates to Trino JDBC driver label Apr 7, 2022
@kokosing kokosing merged commit 69fc0ad into trinodb:master Apr 25, 2022
@kokosing
Copy link
Member

Merged, thanks!

@github-actions github-actions bot added this to the 379 milestone Apr 25, 2022
@ksobolew ksobolew deleted the ksob/remove-write-only-objects branch April 25, 2022 14:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cla-signed jdbc Relates to Trino JDBC driver

Development

Successfully merging this pull request may close these issues.

5 participants