This is an automated email from the ASF dual-hosted git repository.
cshannon pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/activemq.git
The following commit(s) were added to refs/heads/main by this push:
new 45a1bd54d NO-JIRA: fix formatting
45a1bd54d is described below
commit 45a1bd54d3e1202d775388cf5b7d63e4c96183a5
Author: Christopher L. Shannon <[email protected]>
AuthorDate: Thu Apr 11 10:02:27 2024 -0400
NO-JIRA: fix formatting
---
.../main/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 2e169330b..9ff5d3c04 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);
}
}