diff options
author | Noel Grandin <noel@peralex.com> | 2014-08-05 15:29:21 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2014-08-08 09:48:20 +0200 |
commit | 616b3ad50404f35d84708b3feeb8c66f2f23f1b1 (patch) | |
tree | fbff023a34b3cc62b2c5beb592b95e65ce28251b /connectivity | |
parent | b6a83e99c8f4442c3c96198ac816dcb99419a67e (diff) |
java: remove exceptions from throws clauses that are not
.. actually thrown
Change-Id: Ia326ac7f82e11b948ed0f34e20908a96e7adcd10
Diffstat (limited to 'connectivity')
3 files changed, 3 insertions, 3 deletions
diff --git a/connectivity/com/sun/star/sdbcx/comp/hsqldb/StorageFileAccess.java b/connectivity/com/sun/star/sdbcx/comp/hsqldb/StorageFileAccess.java index 71629ec9f561..3e460a7c48f8 100644 --- a/connectivity/com/sun/star/sdbcx/comp/hsqldb/StorageFileAccess.java +++ b/connectivity/com/sun/star/sdbcx/comp/hsqldb/StorageFileAccess.java @@ -73,7 +73,7 @@ public class StorageFileAccess implements org.hsqldb.lib.FileAccess{ public class FileSync implements FileAccess.FileSync { NativeOutputStreamHelper os; - FileSync(NativeOutputStreamHelper _os) throws java.io.IOException + FileSync(NativeOutputStreamHelper _os) { os = _os; } diff --git a/connectivity/qa/complex/connectivity/JdbcLongVarCharTest.java b/connectivity/qa/complex/connectivity/JdbcLongVarCharTest.java index 822f1bc1fefd..6e2c214692e6 100644 --- a/connectivity/qa/complex/connectivity/JdbcLongVarCharTest.java +++ b/connectivity/qa/complex/connectivity/JdbcLongVarCharTest.java @@ -49,7 +49,7 @@ public class JdbcLongVarCharTest extends ComplexTestCase return "LongVarCharTest"; } - public void testLongVarChar() throws com.sun.star.uno.Exception, com.sun.star.beans.UnknownPropertyException + public void testLongVarChar() { try diff --git a/connectivity/qa/connectivity/tools/CRMDatabase.java b/connectivity/qa/connectivity/tools/CRMDatabase.java index 57b9e857b2e4..974bfc1a1100 100644 --- a/connectivity/qa/connectivity/tools/CRMDatabase.java +++ b/connectivity/qa/connectivity/tools/CRMDatabase.java @@ -105,7 +105,7 @@ public class CRMDatabase } - public void saveAndClose() throws SQLException, IOException + public void saveAndClose() throws IOException { XDatabaseDocumentUI ui = getDocumentUI(); if ( ui != null ) |