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