commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject svn commit: r883401 - in /commons/proper/dbcp/trunk/src/java/org/apache/commons/dbcp: cpdsadapter/DriverAdapterCPDS.java datasources/PerUserPoolDataSource.java
Date Mon, 23 Nov 2009 16:38:48 GMT
Author: sebb
Date: Mon Nov 23 16:38:48 2009
New Revision: 883401

URL: http://svn.apache.org/viewvc?rev=883401&view=rev
Log:
Add missing serialVersionUIDs

Modified:
    commons/proper/dbcp/trunk/src/java/org/apache/commons/dbcp/cpdsadapter/DriverAdapterCPDS.java
    commons/proper/dbcp/trunk/src/java/org/apache/commons/dbcp/datasources/PerUserPoolDataSource.java

Modified: commons/proper/dbcp/trunk/src/java/org/apache/commons/dbcp/cpdsadapter/DriverAdapterCPDS.java
URL: http://svn.apache.org/viewvc/commons/proper/dbcp/trunk/src/java/org/apache/commons/dbcp/cpdsadapter/DriverAdapterCPDS.java?rev=883401&r1=883400&r2=883401&view=diff
==============================================================================
--- commons/proper/dbcp/trunk/src/java/org/apache/commons/dbcp/cpdsadapter/DriverAdapterCPDS.java
(original)
+++ commons/proper/dbcp/trunk/src/java/org/apache/commons/dbcp/cpdsadapter/DriverAdapterCPDS.java
Mon Nov 23 16:38:48 2009
@@ -87,7 +87,10 @@
 public class DriverAdapterCPDS
     implements ConnectionPoolDataSource, Referenceable, Serializable, 
                ObjectFactory {
-                   
+  
+    private static final long serialVersionUID = -4820523787212147844L;
+
+
     private static final String GET_CONNECTION_CALLED 
             = "A PooledConnection was already requested from this source, " 
             + "further initialization is not allowed.";

Modified: commons/proper/dbcp/trunk/src/java/org/apache/commons/dbcp/datasources/PerUserPoolDataSource.java
URL: http://svn.apache.org/viewvc/commons/proper/dbcp/trunk/src/java/org/apache/commons/dbcp/datasources/PerUserPoolDataSource.java?rev=883401&r1=883400&r2=883401&view=diff
==============================================================================
--- commons/proper/dbcp/trunk/src/java/org/apache/commons/dbcp/datasources/PerUserPoolDataSource.java
(original)
+++ commons/proper/dbcp/trunk/src/java/org/apache/commons/dbcp/datasources/PerUserPoolDataSource.java
Mon Nov 23 16:38:48 2009
@@ -51,6 +51,9 @@
  */
 public class PerUserPoolDataSource
     extends InstanceKeyDataSource {
+
+    private static final long serialVersionUID = -3104731034410444060L;
+
     private static final Map poolKeys = new HashMap();
 
     private int defaultMaxActive = GenericObjectPool.DEFAULT_MAX_ACTIVE;



Mime
View raw message