diff --git a/jetty-http3/http3-common/src/main/java/org/eclipse/jetty/http3/common/QuicDatagramEndPoint.java b/jetty-http3/http3-common/src/main/java/org/eclipse/jetty/http3/common/QuicDatagramEndPoint.java index 1ecf4913d90..9f6b8a8b841 100644 --- a/jetty-http3/http3-common/src/main/java/org/eclipse/jetty/http3/common/QuicDatagramEndPoint.java +++ b/jetty-http3/http3-common/src/main/java/org/eclipse/jetty/http3/common/QuicDatagramEndPoint.java @@ -1,4 +1,4 @@ -package org.eclipse.jetty.http3.common;// +// // ======================================================================== // Copyright (c) 1995-2021 Mort Bay Consulting Pty Ltd and others. // @@ -11,6 +11,8 @@ package org.eclipse.jetty.http3.common;// // ======================================================================== // +package org.eclipse.jetty.http3.common; + import java.io.Closeable; import java.io.IOException; import java.net.InetSocketAddress; @@ -416,7 +418,7 @@ public class QuicDatagramEndPoint extends AbstractEndPoint implements ManagedSel ManagedSelector.safeReadyOps(_key)); } - public final static class InetAddressArgument + public static final class InetAddressArgument { private final ThreadLocal threadLocal = new ThreadLocal<>(); diff --git a/jetty-http3/http3-common/src/main/java/org/eclipse/jetty/http3/common/QuicSession.java b/jetty-http3/http3-common/src/main/java/org/eclipse/jetty/http3/common/QuicSession.java index e69720297d7..009951e8372 100644 --- a/jetty-http3/http3-common/src/main/java/org/eclipse/jetty/http3/common/QuicSession.java +++ b/jetty-http3/http3-common/src/main/java/org/eclipse/jetty/http3/common/QuicSession.java @@ -264,7 +264,8 @@ public abstract class QuicSession public Flusher(Scheduler scheduler) { - timeout = new CyclicTimeout(scheduler) { + timeout = new CyclicTimeout(scheduler) + { @Override public void onTimeoutExpired() {