This is an automated email from the ASF dual-hosted git repository.
markt 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 42b151c6d8 Hide default constructor
42b151c6d8 is described below
commit 42b151c6d823f82907544cc18f7f8d61fa1984a9
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]