tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kfuj...@apache.org
Subject svn commit: r1133288 - /tomcat/trunk/java/org/apache/catalina/session/JDBCStore.java
Date Wed, 08 Jun 2011 08:45:41 GMT
Author: kfujino
Date: Wed Jun  8 08:45:41 2011
New Revision: 1133288

URL: http://svn.apache.org/viewvc?rev=1133288&view=rev
Log:
Followup to r1133134.
I think better not dataSource but dataSourceName.

Modified:
    tomcat/trunk/java/org/apache/catalina/session/JDBCStore.java

Modified: tomcat/trunk/java/org/apache/catalina/session/JDBCStore.java
URL: http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/catalina/session/JDBCStore.java?rev=1133288&r1=1133287&r2=1133288&view=diff
==============================================================================
--- tomcat/trunk/java/org/apache/catalina/session/JDBCStore.java (original)
+++ tomcat/trunk/java/org/apache/catalina/session/JDBCStore.java Wed Jun  8 08:45:41 2011
@@ -1049,7 +1049,7 @@ public class JDBCStore extends StoreBase
     @Override
     protected synchronized void startInternal() throws LifecycleException {
 
-        if (dataSource == null) {
+        if (dataSourceName == null) {
             // If not using a connection pool, open a connection to the database
             this.dbConnection = getConnection();
         }



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


Mime
View raw message