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 /framework | |
parent | 1e6f0b2d8b35f856637eedf91729e522fcc633e8 (diff) |
java: classes in java.lang package do not need to be fully qualified
Change-Id: I7b18f62336c3a8ca4c538b30ce04c99f202a4756
Diffstat (limited to 'framework')
5 files changed, 6 insertions, 6 deletions
diff --git a/framework/qa/complex/api_internal/CheckAPI.java b/framework/qa/complex/api_internal/CheckAPI.java index c2a5f5f95476..bf1e2d750987 100644 --- a/framework/qa/complex/api_internal/CheckAPI.java +++ b/framework/qa/complex/api_internal/CheckAPI.java @@ -149,7 +149,7 @@ public class CheckAPI { try { Thread.sleep(10000); } - catch(java.lang.InterruptedException e) {} + catch(InterruptedException e) {} OfficeProvider op = new OfficeProvider(); xMSF = (XMultiServiceFactory)op.getManager(param); param.put("ServiceFactory",xMSF); diff --git a/framework/qa/complex/desktop/DesktopTerminate.java b/framework/qa/complex/desktop/DesktopTerminate.java index f11923312d27..82e753e71e31 100644 --- a/framework/qa/complex/desktop/DesktopTerminate.java +++ b/framework/qa/complex/desktop/DesktopTerminate.java @@ -93,7 +93,7 @@ public class DesktopTerminate { Thread.sleep(10000); } - catch (java.lang.InterruptedException e) + catch (InterruptedException e) { } } @@ -119,7 +119,7 @@ public class DesktopTerminate { Thread.sleep(iOfficeCloseTime); } - catch (java.lang.InterruptedException e) + catch (InterruptedException e) { } xMSF = null; diff --git a/framework/qa/complex/framework/autosave/Protocol.java b/framework/qa/complex/framework/autosave/Protocol.java index 33b3d1dd2127..225ebce46207 100644 --- a/framework/qa/complex/framework/autosave/Protocol.java +++ b/framework/qa/complex/framework/autosave/Protocol.java @@ -818,7 +818,7 @@ public class Protocol extends JComponent else if (com.sun.star.uno.AnyConverter.isArray(aAny)) { - if (aAny instanceof java.lang.String[]) + if (aAny instanceof String[]) { sOut.append("[sequence< string >] {"); sOut.append("}"); diff --git a/framework/qa/complex/framework/recovery/RecoveryTest.java b/framework/qa/complex/framework/recovery/RecoveryTest.java index 572ac50946ba..988d00a7d860 100644 --- a/framework/qa/complex/framework/recovery/RecoveryTest.java +++ b/framework/qa/complex/framework/recovery/RecoveryTest.java @@ -360,7 +360,7 @@ public class RecoveryTest extends ComplexTestCase { try{ oButton = oUITools.getButton("Next >"); - } catch (java.lang.NullPointerException e){ + } catch (NullPointerException e){ // no fault: The title "Start Recovery" switches to "Next" // while all documents are recoverd } diff --git a/framework/qa/complex/framework/recovery/RecoveryTools.java b/framework/qa/complex/framework/recovery/RecoveryTools.java index 0de2d69437c4..080d84c2fe2c 100644 --- a/framework/qa/complex/framework/recovery/RecoveryTools.java +++ b/framework/qa/complex/framework/recovery/RecoveryTools.java @@ -122,7 +122,7 @@ public class RecoveryTools { private void sleep(long millis){ try{ Thread.sleep(millis); - }catch (java.lang.InterruptedException e){} + }catch (InterruptedException e){} } /** |