commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ma...@apache.org
Subject svn commit: r754758 - /commons/proper/dbcp/trunk/src/java/org/apache/commons/dbcp/BasicDataSource.java
Date Sun, 15 Mar 2009 21:25:31 GMT
Author: markt
Date: Sun Mar 15 21:25:31 2009
New Revision: 754758

URL: http://svn.apache.org/viewvc?rev=754758&view=rev
Log:
Fix DBCP-285. Add warning re sub-classes and thread-safety

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

Modified: commons/proper/dbcp/trunk/src/java/org/apache/commons/dbcp/BasicDataSource.java
URL: http://svn.apache.org/viewvc/commons/proper/dbcp/trunk/src/java/org/apache/commons/dbcp/BasicDataSource.java?rev=754758&r1=754757&r2=754758&view=diff
==============================================================================
--- commons/proper/dbcp/trunk/src/java/org/apache/commons/dbcp/BasicDataSource.java (original)
+++ commons/proper/dbcp/trunk/src/java/org/apache/commons/dbcp/BasicDataSource.java Sun Mar
15 21:25:31 2009
@@ -40,6 +40,9 @@
  * configured via JavaBeans properties.  This is not the only way to
  * combine the <em>commons-dbcp</em> and <em>commons-pool</em> packages,
  * but provides a "one stop shopping" solution for basic requirements.</p>
+ * 
+ * <p>Users extending this class should take care to use appropriate accessors
+ * rather than accessing protected fields directly to ensure thread-safety.</p>
  *
  * @author Glenn L. Nielsen
  * @author Craig R. McClanahan



Mime
View raw message