harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From telli...@apache.org
Subject svn commit: r650564 - /harmony/enhanced/classlib/trunk/modules/sql/src/test/java/org/apache/harmony/sql/tests/internal/rowset/CachedRowSetTestCase.java
Date Tue, 22 Apr 2008 16:10:27 GMT
Author: tellison
Date: Tue Apr 22 09:10:20 2008
New Revision: 650564

URL: http://svn.apache.org/viewvc?rev=650564&view=rev
Log:
Apply patch HARMONY-5775 ([classlib][sql][rowset] - org.apache.harmony.sql.tests.internal.rowset.CachedRowSetTestCase.setUp()
hide exception)

Modified:
    harmony/enhanced/classlib/trunk/modules/sql/src/test/java/org/apache/harmony/sql/tests/internal/rowset/CachedRowSetTestCase.java

Modified: harmony/enhanced/classlib/trunk/modules/sql/src/test/java/org/apache/harmony/sql/tests/internal/rowset/CachedRowSetTestCase.java
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/sql/src/test/java/org/apache/harmony/sql/tests/internal/rowset/CachedRowSetTestCase.java?rev=650564&r1=650563&r2=650564&view=diff
==============================================================================
--- harmony/enhanced/classlib/trunk/modules/sql/src/test/java/org/apache/harmony/sql/tests/internal/rowset/CachedRowSetTestCase.java
(original)
+++ harmony/enhanced/classlib/trunk/modules/sql/src/test/java/org/apache/harmony/sql/tests/internal/rowset/CachedRowSetTestCase.java
Tue Apr 22 09:10:20 2008
@@ -58,11 +58,7 @@
         try {
             conn = DriverManager.getConnection(DERBY_URL);
         } catch (SQLException e) {
-            try {
-                conn = DriverManager.getConnection(DERBY_URL_Create);
-            } catch (SQLException ee) {
-                throw new SQLException("Create DB Failure!");
-            }
+            conn = DriverManager.getConnection(DERBY_URL_Create);
         }
 
         st = conn.createStatement();



Mime
View raw message