summaryrefslogtreecommitdiff
path: root/dbaccess/qa
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2014-08-05 15:29:21 +0200
committerNoel Grandin <noel@peralex.com>2014-08-08 09:48:20 +0200
commit616b3ad50404f35d84708b3feeb8c66f2f23f1b1 (patch)
treefbff023a34b3cc62b2c5beb592b95e65ce28251b /dbaccess/qa
parentb6a83e99c8f4442c3c96198ac816dcb99419a67e (diff)
java: remove exceptions from throws clauses that are not
.. actually thrown Change-Id: Ia326ac7f82e11b948ed0f34e20908a96e7adcd10
Diffstat (limited to 'dbaccess/qa')
-rw-r--r--dbaccess/qa/complex/dbaccess/Beamer.java5
-rw-r--r--dbaccess/qa/complex/dbaccess/CopyTableWizard.java2
-rw-r--r--dbaccess/qa/complex/dbaccess/DatabaseDocument.java4
-rw-r--r--dbaccess/qa/complex/dbaccess/PropertyBag.java2
4 files changed, 5 insertions, 8 deletions
diff --git a/dbaccess/qa/complex/dbaccess/Beamer.java b/dbaccess/qa/complex/dbaccess/Beamer.java
index 5c9af57354e8..f7e0a66b6e1d 100644
--- a/dbaccess/qa/complex/dbaccess/Beamer.java
+++ b/dbaccess/qa/complex/dbaccess/Beamer.java
@@ -36,9 +36,6 @@ import com.sun.star.uno.UnoRuntime;
import com.sun.star.util.URL;
import com.sun.star.util.XURLTransformer;
import com.sun.star.view.XSelectionSupplier;
-import java.io.IOException;
-
-
// ---------- junit imports -----------------
import org.junit.After;
import org.junit.Before;
@@ -81,7 +78,7 @@ public class Beamer extends TestCase
@Test
- public void testBeamer() throws Exception, IOException, java.lang.Exception
+ public void testBeamer() throws Exception, java.lang.Exception
{
final XController controller = docModel.getCurrentController();
final XFrame frame = controller.getFrame();
diff --git a/dbaccess/qa/complex/dbaccess/CopyTableWizard.java b/dbaccess/qa/complex/dbaccess/CopyTableWizard.java
index 419d6782d19e..75eb92ef548f 100644
--- a/dbaccess/qa/complex/dbaccess/CopyTableWizard.java
+++ b/dbaccess/qa/complex/dbaccess/CopyTableWizard.java
@@ -148,7 +148,7 @@ public class CopyTableWizard extends CRMBasedTestCase
}
}
- private void copyTable(final String tableName, final XConnection sourceConnection, final XConnection destConnection) throws Exception, IOException, java.lang.Exception
+ private void copyTable(final String tableName, final XConnection sourceConnection, final XConnection destConnection) throws Exception, java.lang.Exception
{
final XInteractionHandler interAction = new CopyTableInterActionHandler();
diff --git a/dbaccess/qa/complex/dbaccess/DatabaseDocument.java b/dbaccess/qa/complex/dbaccess/DatabaseDocument.java
index c6b12df2e966..faaad37a9842 100644
--- a/dbaccess/qa/complex/dbaccess/DatabaseDocument.java
+++ b/dbaccess/qa/complex/dbaccess/DatabaseDocument.java
@@ -347,7 +347,7 @@ public class DatabaseDocument extends TestCase implements com.sun.star.document.
}
- private void impl_closeDocument(XModel _databaseDoc) throws CloseVetoException, IOException, Exception
+ private void impl_closeDocument(XModel _databaseDoc) throws CloseVetoException, Exception
{
final XCloseable closeDoc = UnoRuntime.queryInterface(XCloseable.class, _databaseDoc);
closeDoc.close(true);
@@ -511,7 +511,7 @@ public class DatabaseDocument extends TestCase implements com.sun.star.document.
}
- private void impl_storeDocument( final XModel _document ) throws Exception, IOException
+ private void impl_storeDocument( final XModel _document ) throws Exception
{
// store the document
final String documentURL = FileHelper.getOOoCompatibleFileURL( _document.getURL() );
diff --git a/dbaccess/qa/complex/dbaccess/PropertyBag.java b/dbaccess/qa/complex/dbaccess/PropertyBag.java
index 941549c67223..2c313df7d5c8 100644
--- a/dbaccess/qa/complex/dbaccess/PropertyBag.java
+++ b/dbaccess/qa/complex/dbaccess/PropertyBag.java
@@ -203,7 +203,7 @@ public class PropertyBag extends TestCase
}
@Test
- public void checkDynamicSet() throws com.sun.star.uno.Exception
+ public void checkDynamicSet()
{
System.out.println( "checking proper dynamic of the set" );
createStandardBag( false );