summaryrefslogtreecommitdiff
path: root/sw/qa/complex
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 /sw/qa/complex
parentb6a83e99c8f4442c3c96198ac816dcb99419a67e (diff)
java: remove exceptions from throws clauses that are not
.. actually thrown Change-Id: Ia326ac7f82e11b948ed0f34e20908a96e7adcd10
Diffstat (limited to 'sw/qa/complex')
-rw-r--r--sw/qa/complex/writer/CheckBookmarks.java6
-rw-r--r--sw/qa/complex/writer/CheckCrossReferences.java2
-rw-r--r--sw/qa/complex/writer/CheckFlies.java2
3 files changed, 2 insertions, 8 deletions
diff --git a/sw/qa/complex/writer/CheckBookmarks.java b/sw/qa/complex/writer/CheckBookmarks.java
index a6dab9cdeb89..e53dffc28cc7 100644
--- a/sw/qa/complex/writer/CheckBookmarks.java
+++ b/sw/qa/complex/writer/CheckBookmarks.java
@@ -101,9 +101,6 @@ public class CheckBookmarks {
}
@Test public void checkBookmarks()
- throws com.sun.star.uno.Exception,
- com.sun.star.io.IOException,
- java.security.NoSuchAlgorithmException
{
actualHashes.assertExpectation(get20111110Expectations());
}
@@ -170,7 +167,6 @@ public class CheckBookmarks {
}
private void insertRandomParts(long seed)
- throws com.sun.star.uno.Exception
{
java.util.Random rnd = new java.util.Random(seed);
XTextCursor xCrsr = m_xDoc.getText().createTextCursor();
@@ -181,7 +177,6 @@ public class CheckBookmarks {
}
private void deleteRandomParts(long seed)
- throws com.sun.star.uno.Exception
{
java.util.Random rnd = new java.util.Random(seed);
XTextCursor xCrsr = m_xDoc.getText().createTextCursor();
@@ -193,7 +188,6 @@ public class CheckBookmarks {
}
private void insertLinebreaks(long seed)
- throws com.sun.star.uno.Exception
{
XText xText = m_xDoc.getText();
java.util.Random rnd = new java.util.Random(seed);
diff --git a/sw/qa/complex/writer/CheckCrossReferences.java b/sw/qa/complex/writer/CheckCrossReferences.java
index c12f81a74e91..8e842d52f660 100644
--- a/sw/qa/complex/writer/CheckCrossReferences.java
+++ b/sw/qa/complex/writer/CheckCrossReferences.java
@@ -284,7 +284,7 @@ public class CheckCrossReferences {
}
}
- @Before public void setUpDocument() throws com.sun.star.uno.Exception {
+ @Before public void setUpDocument() {
document = util.WriterTools.loadTextDoc(
UnoRuntime.queryInterface(
XMultiServiceFactory.class,
diff --git a/sw/qa/complex/writer/CheckFlies.java b/sw/qa/complex/writer/CheckFlies.java
index e057430de9b2..6682696317bf 100644
--- a/sw/qa/complex/writer/CheckFlies.java
+++ b/sw/qa/complex/writer/CheckFlies.java
@@ -179,7 +179,7 @@ public class CheckFlies {
}
}
- @Before public void setUpDocument() throws com.sun.star.uno.Exception {
+ @Before public void setUpDocument() {
document = util.WriterTools.loadTextDoc(
UnoRuntime.queryInterface(
XMultiServiceFactory.class,