You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by ma...@apache.org on 2022/11/28 20:03:34 UTC

[tomcat] 02/02: Fix comment formatting - remove unintended use of back ticks

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

commit 42da06a299c219d90f1002060401e69aead78ec8
Author: Mark Thomas <ma...@apache.org>
AuthorDate: Mon Nov 28 20:03:15 2022 +0000

    Fix comment formatting - remove unintended use of back ticks
---
 java/org/apache/catalina/valves/rewrite/RewriteRule.java | 6 +++---
 java/org/apache/tomcat/jni/SSLContext.java               | 2 +-
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/java/org/apache/catalina/valves/rewrite/RewriteRule.java b/java/org/apache/catalina/valves/rewrite/RewriteRule.java
index d055882a13..71b6faa356 100644
--- a/java/org/apache/catalina/valves/rewrite/RewriteRule.java
+++ b/java/org/apache/catalina/valves/rewrite/RewriteRule.java
@@ -164,9 +164,9 @@ public class RewriteRule {
      *  can be chained with the following rule, etc.). This has the following
      *  effect: if a rule matches, then processing continues as usual, i.e.,
      *  the flag has no effect. If the rule does not match, then all following
-     *  chained rules are skipped. For instance, use it to remove the ``.www''
+     *  chained rules are skipped. For instance, use it to remove the ".www"
      *  part inside a per-directory rule set when you let an external redirect
-     *  happen (where the ``.www'' part should not to occur!).
+     *  happen (where the ".www" part should not to occur!).
      */
     protected boolean chain = false;
 
@@ -305,7 +305,7 @@ public class RewriteRule {
      *  specify them as a number or use one of the following symbolic names:
      *  temp (default), permanent, seeother. Use it for rules which should
      *  canonicalize the URL and give it back to the client, e.g., translate
-     *  ``/~'' into ``/u/'' or always append a slash to /u/user, etc. Note:
+     *  "/~" into "/u/" or always append a slash to /u/user, etc. Note:
      *  When you use this flag, make sure that the substitution field is a
      *  valid URL! If not, you are redirecting to an invalid location!
      *  And remember that this flag itself only prefixes the URL with
diff --git a/java/org/apache/tomcat/jni/SSLContext.java b/java/org/apache/tomcat/jni/SSLContext.java
index 0f047c5f95..4d64bd3f98 100644
--- a/java/org/apache/tomcat/jni/SSLContext.java
+++ b/java/org/apache/tomcat/jni/SSLContext.java
@@ -167,7 +167,7 @@ public final class SSLContext {
      * Point setCertificateFile at a PEM encoded certificate.  If
      * the certificate is encrypted, then you will be prompted for a
      * pass phrase.  Note that a kill -HUP will prompt again. A test
-     * certificate can be generated with `make certificate' under
+     * certificate can be generated with 'make certificate' under
      * built time. Keep in mind that if you've both a RSA and a DSA
      * certificate you can configure both in parallel (to also allow
      * the use of DSA ciphers, etc.)


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org