This is an automated email from the ASF dual-hosted git repository.
markt pushed a commit to branch 11.0.x
in repository https://gitbox.apache.org/repos/asf/tomcat.git
The following commit(s) were added to refs/heads/11.0.x by this push:
new 2bc6b56d62 Hide default constructor
2bc6b56d62 is described below
commit 2bc6b56d629c72baf553202a0607d3dd4643d846
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]