From 45a1bd54d3e1202d775388cf5b7d63e4c96183a5 Mon Sep 17 00:00:00 2001 From: "Christopher L. Shannon" Date: Thu, 11 Apr 2024 10:02:27 -0400 Subject: [PATCH] NO-JIRA: fix formatting --- .../java/org/apache/activemq/web/async/AsyncServletRequest.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/activemq-web/src/main/java/org/apache/activemq/web/async/AsyncServletRequest.java b/activemq-web/src/main/java/org/apache/activemq/web/async/AsyncServletRequest.java index 2e169330bc..9ff5d3c041 100644 --- a/activemq-web/src/main/java/org/apache/activemq/web/async/AsyncServletRequest.java +++ b/activemq-web/src/main/java/org/apache/activemq/web/async/AsyncServletRequest.java @@ -120,7 +120,7 @@ public class AsyncServletRequest implements AsyncListener { // error. The spec requires a 500 error on timeout unless complete() is called. context.complete(); final ServletResponse response = context.getResponse(); - if (response instanceof HttpServletResponse) { + if (response instanceof HttpServletResponse) { ((HttpServletResponse) response).setStatus(HttpServletResponse.SC_NO_CONTENT); } }