commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pste...@apache.org
Subject svn commit: r555985 - in /jakarta/commons/proper/dbcp/trunk/src/java/org/apache/commons/dbcp: BasicDataSource.java managed/BasicManagedDataSource.java
Date Fri, 13 Jul 2007 13:27:11 GMT
Author: psteitz
Date: Fri Jul 13 06:27:11 2007
New Revision: 555985

URL: http://svn.apache.org/viewvc?view=rev&rev=555985
Log:
Fixed spelling error in method name.

Modified:
    jakarta/commons/proper/dbcp/trunk/src/java/org/apache/commons/dbcp/BasicDataSource.java
    jakarta/commons/proper/dbcp/trunk/src/java/org/apache/commons/dbcp/managed/BasicManagedDataSource.java

Modified: jakarta/commons/proper/dbcp/trunk/src/java/org/apache/commons/dbcp/BasicDataSource.java
URL: http://svn.apache.org/viewvc/jakarta/commons/proper/dbcp/trunk/src/java/org/apache/commons/dbcp/BasicDataSource.java?view=diff&rev=555985&r1=555984&r2=555985
==============================================================================
--- jakarta/commons/proper/dbcp/trunk/src/java/org/apache/commons/dbcp/BasicDataSource.java
(original)
+++ jakarta/commons/proper/dbcp/trunk/src/java/org/apache/commons/dbcp/BasicDataSource.java
Fri Jul 13 06:27:11 2007
@@ -1136,7 +1136,7 @@
         }
 
         // create factory which returns raw physical connections
-        ConnectionFactory driverConnectionFactory = createConectionFactory();
+        ConnectionFactory driverConnectionFactory = createConnectionFactory();
 
         // create a pool for our connections
         createConnectionPool();
@@ -1193,7 +1193,7 @@
      * Creates a connection factory for this datasource.  This method only
      * exists so subclasses can replace the implementation class.
      */
-    protected ConnectionFactory createConectionFactory() throws SQLException {
+    protected ConnectionFactory createConnectionFactory() throws SQLException {
         // Load the JDBC driver class
         if (driverClassName != null) {
             try {

Modified: jakarta/commons/proper/dbcp/trunk/src/java/org/apache/commons/dbcp/managed/BasicManagedDataSource.java
URL: http://svn.apache.org/viewvc/jakarta/commons/proper/dbcp/trunk/src/java/org/apache/commons/dbcp/managed/BasicManagedDataSource.java?view=diff&rev=555985&r1=555984&r2=555985
==============================================================================
--- jakarta/commons/proper/dbcp/trunk/src/java/org/apache/commons/dbcp/managed/BasicManagedDataSource.java
(original)
+++ jakarta/commons/proper/dbcp/trunk/src/java/org/apache/commons/dbcp/managed/BasicManagedDataSource.java
Fri Jul 13 06:27:11 2007
@@ -89,14 +89,14 @@
         this.xaDataSource = xaDataSource;
     }
 
-    protected ConnectionFactory createConectionFactory() throws SQLException {
+    protected ConnectionFactory createConnectionFactory() throws SQLException {
         if (transactionManager == null) {
             throw new SQLException("Transaction manager must be set before a connection can
be created");
         }
 
         // If xa data source is not specified a DriverConnectionFactory is created and wrapped
with a LocalXAConnectionFactory
         if (xaDataSource == null) {
-            ConnectionFactory connectionFactory = super.createConectionFactory();
+            ConnectionFactory connectionFactory = super.createConnectionFactory();
             XAConnectionFactory xaConnectionFactory = new LocalXAConnectionFactory(getTransactionManager(),
connectionFactory);
             transactionRegistry = xaConnectionFactory.getTransactionRegistry();
             return xaConnectionFactory;



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


Mime
View raw message