This is an automated email from the ASF dual-hosted git repository. markt pushed a commit to branch 8.5.x in repository https://gitbox.apache.org/repos/asf/tomcat.git
commit b9c41057a7d747ce5428809401cd6d94867b0e6f 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 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/modules/jdbc-pool/doc/jdbc-pool.xml b/modules/jdbc-pool/doc/jdbc-pool.xml index 59c979d..d96e287 100644 --- a/modules/jdbc-pool/doc/jdbc-pool.xml +++ b/modules/jdbc-pool/doc/jdbc-pool.xml @@ -912,7 +912,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 { --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org