diff options
author | Michael Stahl <mstahl@redhat.com> | 2012-06-29 21:00:14 +0200 |
---|---|---|
committer | Michael Stahl <mstahl@redhat.com> | 2012-06-29 22:03:05 +0200 |
commit | 02bb9c546e16f28c1e38f9667332a1428b94f471 (patch) | |
tree | bbb3a0b9221f0a138462651b10eede784830d4f7 /framework | |
parent | 37e1055f8ca2e28a4ea954feec42d0c60aad3278 (diff) |
fix various (javac 1.7.0) warning: unreachable catch clause
Change-Id: I2b863b43db59e6904f97d9ad22fdb04013e8c76d
Diffstat (limited to 'framework')
-rw-r--r-- | framework/qa/complex/framework/recovery/RecoveryTest.java | 6 | ||||
-rw-r--r-- | framework/qa/complex/loadAllDocuments/StreamSimulator.java | 26 |
2 files changed, 0 insertions, 32 deletions
diff --git a/framework/qa/complex/framework/recovery/RecoveryTest.java b/framework/qa/complex/framework/recovery/RecoveryTest.java index 6285f04a8da9..defc57658d21 100644 --- a/framework/qa/complex/framework/recovery/RecoveryTest.java +++ b/framework/qa/complex/framework/recovery/RecoveryTest.java @@ -885,9 +885,6 @@ public class RecoveryTest extends ComplexTestCase { } catch ( com.sun.star.lang.IllegalArgumentException e ){ log.println("Exception occurred while filling text document with content."); failed("Couldn't create test environment"); - } catch (com.sun.star.uno.Exception e) { - log.println("Exception occurred while filling text document with content."); - failed("Couldn't create test environment"); } } @@ -935,9 +932,6 @@ public class RecoveryTest extends ComplexTestCase { } catch (com.sun.star.lang.IllegalArgumentException e) { log.println("Exception occurred while filling calc document with content."); failed("Couldn't create test environment"); - } catch (com.sun.star.uno.Exception e) { - log.println("Exception occurred while filling calc document with content."); - failed("Couldn't create test environment"); } } diff --git a/framework/qa/complex/loadAllDocuments/StreamSimulator.java b/framework/qa/complex/loadAllDocuments/StreamSimulator.java index 210cd1da9610..43c163c11dbb 100644 --- a/framework/qa/complex/loadAllDocuments/StreamSimulator.java +++ b/framework/qa/complex/loadAllDocuments/StreamSimulator.java @@ -143,8 +143,6 @@ public class StreamSimulator implements com.sun.star.io.XInputStream , } catch (com.sun.star.uno.RuntimeException exRuntime) { } - catch (com.sun.star.uno.Exception exUno ) { - } return nRead; @@ -175,8 +173,6 @@ public class StreamSimulator implements com.sun.star.io.XInputStream , } catch (com.sun.star.uno.RuntimeException exRuntime) { } - catch (com.sun.star.uno.Exception exUno ) { - } return nRead; } @@ -207,9 +203,6 @@ public class StreamSimulator implements com.sun.star.io.XInputStream , } catch (com.sun.star.uno.RuntimeException exRuntime) { } - catch (com.sun.star.uno.Exception exUno ) { - } - } public int available() throws com.sun.star.io.NotConnectedException, @@ -233,8 +226,6 @@ public class StreamSimulator implements com.sun.star.io.XInputStream , } catch (com.sun.star.uno.RuntimeException exRuntime) { } - catch (com.sun.star.uno.Exception exUno ) { - } return nAvailable; } @@ -261,9 +252,6 @@ public class StreamSimulator implements com.sun.star.io.XInputStream , } catch (com.sun.star.uno.RuntimeException exRuntime) { } - catch (com.sun.star.uno.Exception exUno ) { - } - } /** @@ -296,8 +284,6 @@ public class StreamSimulator implements com.sun.star.io.XInputStream , } catch (com.sun.star.uno.RuntimeException exRuntime) { } - catch (com.sun.star.uno.Exception exUno ) { - } } @@ -326,8 +312,6 @@ public class StreamSimulator implements com.sun.star.io.XInputStream , } catch (com.sun.star.uno.RuntimeException exRuntime) { } - catch (com.sun.star.uno.Exception exUno ) { - } } //_________________________________ @@ -355,9 +339,6 @@ public class StreamSimulator implements com.sun.star.io.XInputStream , } catch (com.sun.star.uno.RuntimeException exRuntime) { } - catch (com.sun.star.uno.Exception exUno ) { - } - } /** @@ -391,9 +372,6 @@ public class StreamSimulator implements com.sun.star.io.XInputStream , } catch (com.sun.star.uno.RuntimeException exRuntime) { } - catch (com.sun.star.uno.Exception exUno ) { - } - } public long getPosition() throws com.sun.star.io.IOException @@ -419,8 +397,6 @@ public class StreamSimulator implements com.sun.star.io.XInputStream , } catch (com.sun.star.uno.RuntimeException exRuntime) { } - catch (com.sun.star.uno.Exception exUno ) { - } return nPos; } @@ -450,8 +426,6 @@ public class StreamSimulator implements com.sun.star.io.XInputStream , } catch (com.sun.star.uno.RuntimeException exRuntime) { } - catch (com.sun.star.uno.Exception exUno ) { - } return nLen; } |