This is an automated email from the ASF dual-hosted git repository.
cbrisson pushed a commit to branch VELOCITY-965
in repository https://gitbox.apache.org/repos/asf/velocity-engine.git
The following commit(s) were added to refs/heads/VELOCITY-965 by this push:
new cd3ce494 Fix typos in comments
cd3ce494 is described below
commit cd3ce49466aa22ade0d60c93535ea4bac5489e2a
Author: Claude Brisson <[email protected]>
AuthorDate: Wed Aug 28 20:57:53 2024 +0200
Fix typos in comments
---
.../velocity/runtime/resource/loader/DataSourceResourceLoader.java | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git
a/velocity-engine-core/src/main/java/org/apache/velocity/runtime/resource/loader/DataSourceResourceLoader.java
b/velocity-engine-core/src/main/java/org/apache/velocity/runtime/resource/loader/DataSourceResourceLoader.java
index cd08d59c..21e1a1e0 100644
---
a/velocity-engine-core/src/main/java/org/apache/velocity/runtime/resource/loader/DataSourceResourceLoader.java
+++
b/velocity-engine-core/src/main/java/org/apache/velocity/runtime/resource/loader/DataSourceResourceLoader.java
@@ -123,8 +123,8 @@ import java.sql.Timestamp;
* <p>Prior to Velocity 2.4, this class should not be considered
thread-safe.</p>
* <p>Since Velocity 2.4, the handling of JDBC connections and prepared
statements is delegated to the
* {@link org.apache.velocity.runtime.resource.loader.DatabaseObjectsFactory}
instance. The default class for this
- * database objets factory is {@link
org.apache.velocity.runtime.resource.loader.DefaultDatabaseObjectsFactory},
- * which obtain a new connection from the data source and prepare statements
at each query. You can configure this
+ * database objects factory is {@link
org.apache.velocity.runtime.resource.loader.DefaultDatabaseObjectsFactory},
+ * which obtains a new connection from the data source and prepares statements
at each query. You can configure this
* resource loader to use the {@link
org.apache.velocity.runtime.resource.loader.CachingDatabaseObjectsFactory} which
* will keep a single connection and tries to reuse prepared statements.
* statements</p>