Skip to content

Commit dc3786d

Browse files
committed
Polish GracefulShutdownFilter
1 parent b28c968 commit dc3786d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

extensions/vertx-http/runtime/src/main/java/io/quarkus/vertx/http/runtime/filters/GracefulShutdownFilter.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,14 +13,14 @@
1313

1414
public class GracefulShutdownFilter implements ShutdownListener, Handler<HttpServerRequest> {
1515

16-
private static Logger log = Logger.getLogger(GracefulShutdownFilter.class);
16+
private static final Logger log = Logger.getLogger(GracefulShutdownFilter.class);
1717

1818
private volatile Handler<HttpServerRequest> next;
1919
private volatile boolean running = true;
2020
private final AtomicInteger currentRequestCount = new AtomicInteger();
2121
private final AtomicReference<ShutdownNotification> notification = new AtomicReference<>();
2222

23-
private final Handler<Void> requestDoneHandler = new Handler<Void>() {
23+
private final Handler<Void> requestDoneHandler = new Handler<>() {
2424
@Override
2525
public void handle(Void event) {
2626
int count = currentRequestCount.decrementAndGet();

0 commit comments

Comments
 (0)