commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject svn commit: r883425 - in /commons/proper/dbcp/trunk/src: java/org/apache/commons/dbcp/ java/org/apache/commons/dbcp/datasources/ test/org/apache/commons/dbcp/datasources/
Date Mon, 23 Nov 2009 17:19:44 GMT
Author: sebb
Date: Mon Nov 23 17:19:43 2009
New Revision: 883425

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

Modified:
    commons/proper/dbcp/trunk/src/java/org/apache/commons/dbcp/AbandonedTrace.java
    commons/proper/dbcp/trunk/src/java/org/apache/commons/dbcp/DbcpException.java
    commons/proper/dbcp/trunk/src/java/org/apache/commons/dbcp/datasources/InstanceKeyDataSource.java
    commons/proper/dbcp/trunk/src/java/org/apache/commons/dbcp/datasources/SharedPoolDataSource.java
    commons/proper/dbcp/trunk/src/test/org/apache/commons/dbcp/datasources/TestInstanceKeyDataSource.java

Modified: commons/proper/dbcp/trunk/src/java/org/apache/commons/dbcp/AbandonedTrace.java
URL: http://svn.apache.org/viewvc/commons/proper/dbcp/trunk/src/java/org/apache/commons/dbcp/AbandonedTrace.java?rev=883425&r1=883424&r2=883425&view=diff
==============================================================================
--- commons/proper/dbcp/trunk/src/java/org/apache/commons/dbcp/AbandonedTrace.java (original)
+++ commons/proper/dbcp/trunk/src/java/org/apache/commons/dbcp/AbandonedTrace.java Mon Nov
23 17:19:43 2009
@@ -203,6 +203,8 @@
 
     static class AbandonedObjectException extends Exception {
 
+        private static final long serialVersionUID = 7398692158058772916L;
+
         /** Date format */
         private static final SimpleDateFormat format = new SimpleDateFormat
             ("'DBCP object created' yyyy-MM-dd HH:mm:ss " +

Modified: commons/proper/dbcp/trunk/src/java/org/apache/commons/dbcp/DbcpException.java
URL: http://svn.apache.org/viewvc/commons/proper/dbcp/trunk/src/java/org/apache/commons/dbcp/DbcpException.java?rev=883425&r1=883424&r2=883425&view=diff
==============================================================================
--- commons/proper/dbcp/trunk/src/java/org/apache/commons/dbcp/DbcpException.java (original)
+++ commons/proper/dbcp/trunk/src/java/org/apache/commons/dbcp/DbcpException.java Mon Nov
23 17:19:43 2009
@@ -31,6 +31,7 @@
  **/
 public class DbcpException extends RuntimeException {
 
+    private static final long serialVersionUID = 2477800549022838103L;
 
     // ----------------------------------------------------------- Constructors
 

Modified: commons/proper/dbcp/trunk/src/java/org/apache/commons/dbcp/datasources/InstanceKeyDataSource.java
URL: http://svn.apache.org/viewvc/commons/proper/dbcp/trunk/src/java/org/apache/commons/dbcp/datasources/InstanceKeyDataSource.java?rev=883425&r1=883424&r2=883425&view=diff
==============================================================================
--- commons/proper/dbcp/trunk/src/java/org/apache/commons/dbcp/datasources/InstanceKeyDataSource.java
(original)
+++ commons/proper/dbcp/trunk/src/java/org/apache/commons/dbcp/datasources/InstanceKeyDataSource.java
Mon Nov 23 17:19:43 2009
@@ -84,6 +84,7 @@
  */
 public abstract class InstanceKeyDataSource
         implements DataSource, Referenceable, Serializable {
+    private static final long serialVersionUID = -4243533936955098795L;
     private static final String GET_CONNECTION_CALLED 
             = "A Connection was already requested from this source, " 
             + "further initialization is not allowed.";

Modified: commons/proper/dbcp/trunk/src/java/org/apache/commons/dbcp/datasources/SharedPoolDataSource.java
URL: http://svn.apache.org/viewvc/commons/proper/dbcp/trunk/src/java/org/apache/commons/dbcp/datasources/SharedPoolDataSource.java?rev=883425&r1=883424&r2=883425&view=diff
==============================================================================
--- commons/proper/dbcp/trunk/src/java/org/apache/commons/dbcp/datasources/SharedPoolDataSource.java
(original)
+++ commons/proper/dbcp/trunk/src/java/org/apache/commons/dbcp/datasources/SharedPoolDataSource.java
Mon Nov 23 17:19:43 2009
@@ -45,6 +45,8 @@
 public class SharedPoolDataSource
     extends InstanceKeyDataSource {
 
+    private static final long serialVersionUID = -8132305535403690372L;
+
     private final Map userKeys = new LRUMap(10);
 
     private int maxActive = GenericObjectPool.DEFAULT_MAX_ACTIVE;

Modified: commons/proper/dbcp/trunk/src/test/org/apache/commons/dbcp/datasources/TestInstanceKeyDataSource.java
URL: http://svn.apache.org/viewvc/commons/proper/dbcp/trunk/src/test/org/apache/commons/dbcp/datasources/TestInstanceKeyDataSource.java?rev=883425&r1=883424&r2=883425&view=diff
==============================================================================
--- commons/proper/dbcp/trunk/src/test/org/apache/commons/dbcp/datasources/TestInstanceKeyDataSource.java
(original)
+++ commons/proper/dbcp/trunk/src/test/org/apache/commons/dbcp/datasources/TestInstanceKeyDataSource.java
Mon Nov 23 17:19:43 2009
@@ -69,6 +69,8 @@
     
     private static class ThrowOnSetupDefaultsDataSource
     extends SharedPoolDataSource {
+        private static final long serialVersionUID = -448025812063133259L;
+
         ThrowOnSetupDefaultsDataSource() {
             super();
         }



Mime
View raw message