This is an automated email from the ASF dual-hosted git repository.
markt 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 7cd861ee47 Remove unnecessary @SuppressWarnings
7cd861ee47 is described below
commit 7cd861ee476320e253832e5a359e5b43dabf87b4
Author: Mark Thomas <[email protected]>
AuthorDate: Sat Sep 16 09:25:35 2023 +0100
Remove unnecessary @SuppressWarnings
---
java/org/apache/tomcat/util/IntrospectionUtils.java | 1 -
1 file changed, 1 deletion(-)
diff --git a/java/org/apache/tomcat/util/IntrospectionUtils.java
b/java/org/apache/tomcat/util/IntrospectionUtils.java
index bacda81eb2..e819bd207c 100644
--- a/java/org/apache/tomcat/util/IntrospectionUtils.java
+++ b/java/org/apache/tomcat/util/IntrospectionUtils.java
@@ -416,7 +416,6 @@ public final class IntrospectionUtils {
return methods;
}
- @SuppressWarnings("null") // params cannot be null when comparing lengths
public static Method findMethod(Class<?> c, String name,
Class<?> params[]) {
Method methods[] = findMethods(c);
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]