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 bf5728a152 Code clean-up. Formatting. No functional change. bf5728a152 is described below commit bf5728a15242082cebd3622407ffac07987604e1 Author: Mark Thomas <ma...@apache.org> AuthorDate: Thu Jan 16 15:52:18 2025 +0000 Code clean-up. Formatting. No functional change. --- java/org/apache/tomcat/util/compat/JrePlatform.java | 9 ++++----- java/org/apache/tomcat/util/compat/JreVendor.java | 8 +++----- 2 files changed, 7 insertions(+), 10 deletions(-) diff --git a/java/org/apache/tomcat/util/compat/JrePlatform.java b/java/org/apache/tomcat/util/compat/JrePlatform.java index b0db4f3797..f6babbb22e 100644 --- a/java/org/apache/tomcat/util/compat/JrePlatform.java +++ b/java/org/apache/tomcat/util/compat/JrePlatform.java @@ -24,12 +24,11 @@ public class JrePlatform { static { /* - * There are a few places where a) the behaviour of the Java API depends - * on the underlying platform and b) those behavioural differences have - * an impact on Tomcat. + * There are a few places where a) the behaviour of the Java API depends on the underlying platform and b) those + * behavioural differences have an impact on Tomcat. * - * Tomcat therefore needs to be able to determine the platform it is - * running on to account for those differences. + * Tomcat therefore needs to be able to determine the platform it is running on to account for those + * differences. * * In an ideal world this code would not exist. */ diff --git a/java/org/apache/tomcat/util/compat/JreVendor.java b/java/org/apache/tomcat/util/compat/JreVendor.java index caa0823ea8..2aea102bd6 100644 --- a/java/org/apache/tomcat/util/compat/JreVendor.java +++ b/java/org/apache/tomcat/util/compat/JreVendor.java @@ -22,11 +22,9 @@ public class JreVendor { static { /* - * There are a few places where Tomcat either accesses JVM internals - * (e.g. the memory leak protection) or where feature support varies - * between JVMs (e.g. SPNEGO). These flags exist to enable Tomcat to - * adjust its behaviour based on the vendor of the JVM. In an ideal - * world this code would not exist. + * There are a few places where Tomcat either accesses JVM internals (e.g. the memory leak protection) or where + * feature support varies between JVMs (e.g. SPNEGO). These flags exist to enable Tomcat to adjust its behaviour + * based on the vendor of the JVM. In an ideal world this code would not exist. */ String vendor = System.getProperty("java.vendor", ""); vendor = vendor.toLowerCase(Locale.ENGLISH); --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org