Skip to content

Conversation

shangm2
Copy link

@shangm2 shangm2 commented Aug 7, 2025

@shangm2 shangm2 requested a review from a team as a code owner August 7, 2025 18:52
@rschlussel
Copy link

Can you give the commit a proper title about what feature it's adding?

import com.facebook.drift.protocol.TProtocolWriter;
import jakarta.inject.Inject;

import javax.inject.Inject;
Copy link
Member

Choose a reason for hiding this comment

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

nit: we can revert this. As part of the jetty upgrade, we migrated from javax.* to jakarta.*

Copy link

@ZacBlanco ZacBlanco Aug 7, 2025

Choose a reason for hiding this comment

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

Since we downgraded guice, we actually still use javax.inject. You should see there are still usages of it throughout the codebase

Copy link
Member

Choose a reason for hiding this comment

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

Oh, yes, forgot about that. So, we could use javax.inject as well, but I think in this case we should use jakarta.inject since this module is already using it in other classes.

<optional>true</optional>
</dependency>

<dependency>

Choose a reason for hiding this comment

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

and revert this too when you remove the javax import.

@imjalpreet
Copy link
Member

@rschlussel can you please help merge this?

@ZacBlanco ZacBlanco merged commit 064be4f into prestodb:master Aug 8, 2025
2 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.

4 participants