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

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


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

commit e52eac769c56faaabbfc26902b35e5701451dcd3
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 8237997a38..47d61b99ea 100644
--- a/java/org/apache/coyote/http2/Stream.java
+++ b/java/org/apache/coyote/http2/Stream.java
@@ -902,7 +902,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