You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by se...@apache.org on 2010/01/05 04:12:40 UTC
svn commit: r895871 - in /commons/proper/dbcp/trunk:
src/java/org/apache/commons/dbcp/PoolingDriver.java xdocs/changes.xml
Author: sebb
Date: Tue Jan 5 03:12:26 2010
New Revision: 895871
URL: http://svn.apache.org/viewvc?rev=895871&view=rev
Log:
DBCP-315 Remove throws clause from method that does not throw an exception.
Modified:
commons/proper/dbcp/trunk/src/java/org/apache/commons/dbcp/PoolingDriver.java
commons/proper/dbcp/trunk/xdocs/changes.xml
Modified: commons/proper/dbcp/trunk/src/java/org/apache/commons/dbcp/PoolingDriver.java
URL: http://svn.apache.org/viewvc/commons/proper/dbcp/trunk/src/java/org/apache/commons/dbcp/PoolingDriver.java?rev=895871&r1=895870&r2=895871&view=diff
==============================================================================
--- commons/proper/dbcp/trunk/src/java/org/apache/commons/dbcp/PoolingDriver.java (original)
+++ commons/proper/dbcp/trunk/src/java/org/apache/commons/dbcp/PoolingDriver.java Tue Jan 5 03:12:26 2010
@@ -157,7 +157,7 @@
}
}
- public synchronized String[] getPoolNames() throws SQLException{
+ public synchronized String[] getPoolNames(){
Set names = _pools.keySet();
return (String[]) names.toArray(new String[names.size()]);
}
Modified: commons/proper/dbcp/trunk/xdocs/changes.xml
URL: http://svn.apache.org/viewvc/commons/proper/dbcp/trunk/xdocs/changes.xml?rev=895871&r1=895870&r2=895871&view=diff
==============================================================================
--- commons/proper/dbcp/trunk/xdocs/changes.xml (original)
+++ commons/proper/dbcp/trunk/xdocs/changes.xml Tue Jan 5 03:12:26 2010
@@ -49,6 +49,9 @@
changes below since 1.2.2 applies to both the 1.3 and 1.4 release. Other than
the one issue related to adding JDBC 4 support (DBCP-191), all bug fixes
or new features are included in both DBCP 1.3 and 1.4 ">
+ <action dev="sebb" type="fix" issue="DBCP-315" due-to="Sebastian Bazley">
+ Remove throws clause from method that does not throw an exception.
+ </action>
<action dev="sebb" type="fix" issue="DBCP-313" due-to="Sebastian Bazley">
Remove code that catches and ignores Exceptions when calling
PooledConnection.removeConnectionEventListener(ConnectionEventListener)