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

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


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

commit cc7bd4b37f6b2213b72dc58b8517da8b8e9ca7f7
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 31a5bec889..883a0487ed 100644
--- a/java/org/apache/coyote/http2/Stream.java
+++ b/java/org/apache/coyote/http2/Stream.java
@@ -901,7 +901,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