This is an automated email from the ASF dual-hosted git repository.

markt-asf pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/tomcat.git


The following commit(s) were added to refs/heads/main by this push:
     new f442523c4b Remove unnecessary suppress warnings
f442523c4b is described below

commit f442523c4bef32b67fd0b2d0f241b02aadeeed1f
Author: Mark Thomas <[email protected]>
AuthorDate: Fri Nov 20 16:01:36 2026 +0000

    Remove unnecessary suppress warnings
---
 java/org/apache/coyote/http2/Stream.java | 1 -
 1 file changed, 1 deletion(-)

diff --git a/java/org/apache/coyote/http2/Stream.java 
b/java/org/apache/coyote/http2/Stream.java
index 4789cbee60..6893955b05 100644
--- a/java/org/apache/coyote/http2/Stream.java
+++ b/java/org/apache/coyote/http2/Stream.java
@@ -891,7 +891,6 @@ class Stream extends AbstractNonZeroStream implements 
HeaderEmitter {
      *
      * @param streamException The stream error
      */
-    @SuppressWarnings("null") // processor is not null when it is referenced
     final void closeOnStreamError(StreamException streamException) {
         StreamProcessor processor = streamProcessor;
         close(streamException);


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to