diff options
author | Noel Grandin <noel@peralex.com> | 2014-08-19 14:18:44 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2014-08-19 14:57:16 +0200 |
commit | 56ef5533fc1bce2134721ae64d4d6c18a3526a7a (patch) | |
tree | eafaa8b3c9c7fd4bbeb03fdb1be091f94c870953 /qadevOOo/tests/java/mod | |
parent | 1e6f0b2d8b35f856637eedf91729e522fcc633e8 (diff) |
java: classes in java.lang package do not need to be fully qualified
Change-Id: I7b18f62336c3a8ca4c538b30ce04c99f202a4756
Diffstat (limited to 'qadevOOo/tests/java/mod')
5 files changed, 7 insertions, 7 deletions
diff --git a/qadevOOo/tests/java/mod/_remotebridge/uno/various.java b/qadevOOo/tests/java/mod/_remotebridge/uno/various.java index 4d2f1464745a..71f7a5af6ec7 100644 --- a/qadevOOo/tests/java/mod/_remotebridge/uno/various.java +++ b/qadevOOo/tests/java/mod/_remotebridge/uno/various.java @@ -226,7 +226,7 @@ public class various extends TestCase { try { Thread.sleep(500); } - catch (java.lang.InterruptedException e) {} + catch (InterruptedException e) {} // establish the connection XConnection xConnection = xCntr.connect(connectString); @@ -291,7 +291,7 @@ public class various extends TestCase { try { Thread.sleep(5000); } - catch(java.lang.InterruptedException e) { + catch(InterruptedException e) { } } } diff --git a/qadevOOo/tests/java/mod/_remotebridge/various.java b/qadevOOo/tests/java/mod/_remotebridge/various.java index 06e9eaca4a7c..a3caa518fd05 100644 --- a/qadevOOo/tests/java/mod/_remotebridge/various.java +++ b/qadevOOo/tests/java/mod/_remotebridge/various.java @@ -218,7 +218,7 @@ public class various extends TestCase { try { Thread.sleep(500); } - catch (java.lang.InterruptedException e) {} + catch (InterruptedException e) {} // establish the connection XConnection xConnection = xCntr.connect(connectString); @@ -283,7 +283,7 @@ public class various extends TestCase { try { Thread.sleep(5000); } - catch(java.lang.InterruptedException e) { + catch(InterruptedException e) { } } } diff --git a/qadevOOo/tests/java/mod/_sc/ScTabViewObj.java b/qadevOOo/tests/java/mod/_sc/ScTabViewObj.java index 59e809ff6b7a..782fdd9c3df2 100644 --- a/qadevOOo/tests/java/mod/_sc/ScTabViewObj.java +++ b/qadevOOo/tests/java/mod/_sc/ScTabViewObj.java @@ -100,7 +100,7 @@ public class ScTabViewObj extends TestCase { xSpreadsheetDoc = SOF.createCalcDoc(null); try { Thread.sleep(1000); - } catch (java.lang.InterruptedException e) {} + } catch (InterruptedException e) {} xSpreadsheetDoc2 = SOF.createCalcDoc(null); } catch (com.sun.star.uno.Exception e) { e.printStackTrace( log ); diff --git a/qadevOOo/tests/java/mod/_sc/ScTableSheetObj.java b/qadevOOo/tests/java/mod/_sc/ScTableSheetObj.java index 4f99925d27ef..b8cca11f83c2 100644 --- a/qadevOOo/tests/java/mod/_sc/ScTableSheetObj.java +++ b/qadevOOo/tests/java/mod/_sc/ScTableSheetObj.java @@ -156,7 +156,7 @@ public class ScTableSheetObj extends TestCase { log.println("Couldn't close document"); } catch (com.sun.star.lang.DisposedException e) { log.println("Document already disposed"); - } catch (java.lang.NullPointerException e) { + } catch (NullPointerException e) { log.println("Couldn't get XCloseable"); } diff --git a/qadevOOo/tests/java/mod/_svtools/AccessibleTabBar.java b/qadevOOo/tests/java/mod/_svtools/AccessibleTabBar.java index 0ec0a1c59290..4096ac6f70c5 100644 --- a/qadevOOo/tests/java/mod/_svtools/AccessibleTabBar.java +++ b/qadevOOo/tests/java/mod/_svtools/AccessibleTabBar.java @@ -148,7 +148,7 @@ public class AccessibleTabBar extends TestCase { closer.close(true); } catch (com.sun.star.util.CloseVetoException e) { log.println("Couldn't close document " + e.getMessage()); - } catch (java.lang.NullPointerException e) { + } catch (NullPointerException e) { log.println("Couldn't close document " + e.getMessage()); } } |