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 c40a5185e1 Hide default constructor
c40a5185e1 is described below
commit c40a5185e1cc2021a6eccab358035f4b2e9422d0
Author: Mark Thomas <[email protected]>
AuthorDate: Thu Sep 18 11:46:02 2025 +0100
Hide default constructor
---
java/org/apache/tomcat/util/http/Method.java | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/java/org/apache/tomcat/util/http/Method.java
b/java/org/apache/tomcat/util/http/Method.java
index 4c36582c0a..982d7bbdb6 100644
--- a/java/org/apache/tomcat/util/http/Method.java
+++ b/java/org/apache/tomcat/util/http/Method.java
@@ -156,4 +156,9 @@ public class Method {
return null;
}
+
+
+ private Method() {
+ // Utility class - hide default constructor
+ }
}
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]