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 /qadevOOo/tests | |
parent | 37e1055f8ca2e28a4ea954feec42d0c60aad3278 (diff) |
fix various (javac 1.7.0) warning: unreachable catch clause
Change-Id: I2b863b43db59e6904f97d9ad22fdb04013e8c76d
Diffstat (limited to 'qadevOOo/tests')
-rw-r--r-- | qadevOOo/tests/java/ifc/configuration/backend/_XUpdateHandler.java | 2 | ||||
-rw-r--r-- | qadevOOo/tests/java/mod/_dbaccess/ODatabaseSource.java | 5 |
2 files changed, 0 insertions, 7 deletions
diff --git a/qadevOOo/tests/java/ifc/configuration/backend/_XUpdateHandler.java b/qadevOOo/tests/java/ifc/configuration/backend/_XUpdateHandler.java index 18e072838461..6848ab48ca38 100644 --- a/qadevOOo/tests/java/ifc/configuration/backend/_XUpdateHandler.java +++ b/qadevOOo/tests/java/ifc/configuration/backend/_XUpdateHandler.java @@ -115,8 +115,6 @@ public class _XUpdateHandler extends MultiMethodTest { log.println("Unexpected Exception " + e); } catch (com.sun.star.lang.WrappedTargetException e) { log.println("Unexpected Exception " + e); - } catch (com.sun.star.uno.Exception e) { - log.println("Unexpected Exception " + e); } } diff --git a/qadevOOo/tests/java/mod/_dbaccess/ODatabaseSource.java b/qadevOOo/tests/java/mod/_dbaccess/ODatabaseSource.java index aa4232abffce..e2647e38ebdb 100644 --- a/qadevOOo/tests/java/mod/_dbaccess/ODatabaseSource.java +++ b/qadevOOo/tests/java/mod/_dbaccess/ODatabaseSource.java @@ -194,13 +194,8 @@ public class ODatabaseSource extends TestCase { log.println("Could not store datasource 'aFile'" ); e.printStackTrace (); throw new StatusException("Could not save ", e) ; - } catch (Exception e){ - log.println("Could not store datasource 'aFile'" ); - e.printStackTrace (); - throw new StatusException("Could not save ", e) ; } - try{ xDBContextNameServ.registerObject(databaseName, oObj) ; } catch (Exception e){ |