Skip to content

Commit

Permalink
jetty: Suppress deprecation warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
kohlschuetter committed Mar 10, 2024
1 parent f4cf74c commit 059f5ca
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@
public final class AFSocketClientConnector extends ClientConnector {
private final AFAddressFamily<?> addressFamily;

@SuppressWarnings("removal")
private AFSocketClientConnector(AFSocketAddress addr) {
super(configuratorFor(addr));
this.addressFamily = addr.getAddressFamily();
Expand Down Expand Up @@ -66,6 +67,7 @@ protected Selector newSelector() throws IOException {
};
}

@SuppressWarnings({"removal", "deprecation"})
private static Configurator configuratorFor(AFSocketAddress addr) {
if (JettyCompat.hasTransportClass()) {
return new AFSocketConfiguratorWithTransport(addr);
Expand Down

0 comments on commit 059f5ca

Please sign in to comment.