This is an automated email from the ASF dual-hosted git repository. markt pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/tomcat.git
commit ffc989139820236cf7d19e9f513f9a45d294f9a1 Author: Mark Thomas <ma...@apache.org> AuthorDate: Wed Sep 16 18:04:48 2020 +0100 Fix spellings in modules Based on a PR provided by John Bampton --- modules/jdbc-pool/doc/jdbc-pool.xml | 2 +- .../src/main/java/org/apache/tomcat/jdbc/pool/PoolConfiguration.java | 4 ++-- .../org/apache/tomcat/jdbc/pool/interceptor/StatementFinalizer.java | 2 +- modules/stuffed/README.md | 4 ++-- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/modules/jdbc-pool/doc/jdbc-pool.xml b/modules/jdbc-pool/doc/jdbc-pool.xml index 852b83b..b1ed993 100644 --- a/modules/jdbc-pool/doc/jdbc-pool.xml +++ b/modules/jdbc-pool/doc/jdbc-pool.xml @@ -917,7 +917,7 @@ a string value comparison when the <code>useEquals=true</code> flag is set. </p> <p>Pool start/stop<br/> - When the connection pool is started or closed, you can be notifed. You will only be notified once per interceptor class + When the connection pool is started or closed, you can be notified. You will only be notified once per interceptor class even though it is an instance method. and you will be notified using an interceptor currently not attached to a pool. </p> <source><![CDATA[ public void poolStarted(ConnectionPool pool) { diff --git a/modules/jdbc-pool/src/main/java/org/apache/tomcat/jdbc/pool/PoolConfiguration.java b/modules/jdbc-pool/src/main/java/org/apache/tomcat/jdbc/pool/PoolConfiguration.java index 4ce7708..fa78f9d 100644 --- a/modules/jdbc-pool/src/main/java/org/apache/tomcat/jdbc/pool/PoolConfiguration.java +++ b/modules/jdbc-pool/src/main/java/org/apache/tomcat/jdbc/pool/PoolConfiguration.java @@ -369,7 +369,7 @@ public interface PoolConfiguration { /** - * boolean flag to remove abandoned connections if they exceed the removeAbandonedTimout. + * boolean flag to remove abandoned connections if they exceed the removeAbandonedTimeout. * If set to true a connection is considered abandoned and eligible for removal if it has * been in use longer than the {@link #getRemoveAbandonedTimeout()} and the condition for * {@link #getAbandonWhenPercentageFull()} is met. @@ -380,7 +380,7 @@ public interface PoolConfiguration { public boolean isRemoveAbandoned(); /** - * boolean flag to remove abandoned connections if they exceed the removeAbandonedTimout. + * boolean flag to remove abandoned connections if they exceed the removeAbandonedTimeout. * If set to true a connection is considered abandoned and eligible for removal if it has * been in use longer than the {@link #getRemoveAbandonedTimeout()} and the condition for * {@link #getAbandonWhenPercentageFull()} is met. diff --git a/modules/jdbc-pool/src/main/java/org/apache/tomcat/jdbc/pool/interceptor/StatementFinalizer.java b/modules/jdbc-pool/src/main/java/org/apache/tomcat/jdbc/pool/interceptor/StatementFinalizer.java index 37b6da2..08e1b8f 100644 --- a/modules/jdbc-pool/src/main/java/org/apache/tomcat/jdbc/pool/interceptor/StatementFinalizer.java +++ b/modules/jdbc-pool/src/main/java/org/apache/tomcat/jdbc/pool/interceptor/StatementFinalizer.java @@ -31,7 +31,7 @@ import org.apache.tomcat.jdbc.pool.PooledConnection; /** * Keeps track of statements associated with a connection and invokes close upon {@link java.sql.Connection#close()} - * Useful for applications that dont close the associated statements after being done with a connection. + * Useful for applications that don't close the associated statements after being done with a connection. * */ public class StatementFinalizer extends AbstractCreateStatementInterceptor { diff --git a/modules/stuffed/README.md b/modules/stuffed/README.md index 16bba25..79974a9 100644 --- a/modules/stuffed/README.md +++ b/modules/stuffed/README.md @@ -39,7 +39,7 @@ mvn clean; mvn package ``` docker build -t apache/tomcat-stuffed:1.0 -f ./Dockerfile . ``` -Docker build arguments include `namespace` (default is `tomcat`) and `port` which should match the Tomcat port in `server.xml` (default is `8080`). Other ports that need to be exposed can be added in the `Dockerfile` as needed. Webapps should be added to the `webapps` folder where they will be auto deployed by the host if using the defaults. Otherwise, the `Dockerfile` command line can be edited like below to include the necesary resources and command line arguments to run a single or mu [...] +Docker build arguments include `namespace` (default is `tomcat`) and `port` which should match the Tomcat port in `server.xml` (default is `8080`). Other ports that need to be exposed can be added in the `Dockerfile` as needed. Webapps should be added to the `webapps` folder where they will be auto deployed by the host if using the defaults. Otherwise, the `Dockerfile` command line can be edited like below to include the necessary resources and command line arguments to run a single or m [...] ## Running @@ -73,7 +73,7 @@ An example `tomcat.yaml` is included which uses the Docker image. It uses the he ### Cluster -If using the Kubernetes cloud clustering membership provider, the pod needs to have the permission to view other pods. For exemple with Openshift, this is done with: +If using the Kubernetes cloud clustering membership provider, the pod needs to have the permission to view other pods. For example with Openshift, this is done with: ``` oc policy add-role-to-user view system:serviceaccount:$(oc project -q):default -n $(oc project -q) ``` --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org