commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject svn commit: r884350 - /commons/proper/dbcp/trunk/doc/BasicDataSourceExample.java
Date Thu, 26 Nov 2009 01:02:12 GMT
Author: sebb
Date: Thu Nov 26 01:02:12 2009
New Revision: 884350

URL: http://svn.apache.org/viewvc?rev=884350&view=rev
Log:
Remove unthrown exception

Modified:
    commons/proper/dbcp/trunk/doc/BasicDataSourceExample.java

Modified: commons/proper/dbcp/trunk/doc/BasicDataSourceExample.java
URL: http://svn.apache.org/viewvc/commons/proper/dbcp/trunk/doc/BasicDataSourceExample.java?rev=884350&r1=884349&r2=884350&view=diff
==============================================================================
--- commons/proper/dbcp/trunk/doc/BasicDataSourceExample.java (original)
+++ commons/proper/dbcp/trunk/doc/BasicDataSourceExample.java Thu Nov 26 01:02:12 2009
@@ -119,7 +119,7 @@
         return ds;
     }
 
-    public static void printDataSourceStats(DataSource ds) throws SQLException {
+    public static void printDataSourceStats(DataSource ds) {
         BasicDataSource bds = (BasicDataSource) ds;
         System.out.println("NumActive: " + bds.getNumActive());
         System.out.println("NumIdle: " + bds.getNumIdle());



Mime
View raw message