summaryrefslogtreecommitdiff
path: root/forms
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2014-08-19 14:18:44 +0200
committerNoel Grandin <noel@peralex.com>2014-08-19 14:57:16 +0200
commit56ef5533fc1bce2134721ae64d4d6c18a3526a7a (patch)
treeeafaa8b3c9c7fd4bbeb03fdb1be091f94c870953 /forms
parent1e6f0b2d8b35f856637eedf91729e522fcc633e8 (diff)
java: classes in java.lang package do not need to be fully qualified
Change-Id: I7b18f62336c3a8ca4c538b30ce04c99f202a4756
Diffstat (limited to 'forms')
-rw-r--r--forms/qa/integration/forms/ListSelection.java2
-rw-r--r--forms/qa/integration/forms/MasterDetailForms.java2
-rw-r--r--forms/qa/integration/forms/NumericValidator.java2
3 files changed, 3 insertions, 3 deletions
diff --git a/forms/qa/integration/forms/ListSelection.java b/forms/qa/integration/forms/ListSelection.java
index 2529b08c31e9..17a63bde458e 100644
--- a/forms/qa/integration/forms/ListSelection.java
+++ b/forms/qa/integration/forms/ListSelection.java
@@ -120,7 +120,7 @@ public class ListSelection extends integration.forms.TestCase
this.wait( 500 );
}
}
- catch( java.lang.InterruptedException e ) { }
+ catch( InterruptedException e ) { }
XNamed sheetName = UnoRuntime.queryInterface( XNamed.class, view.getActiveSheet() );
assure( "sheet was not selected as expected!", sheetName.getName().equals( selectSheetName ) );
diff --git a/forms/qa/integration/forms/MasterDetailForms.java b/forms/qa/integration/forms/MasterDetailForms.java
index e824ac50f98d..48868bce8397 100644
--- a/forms/qa/integration/forms/MasterDetailForms.java
+++ b/forms/qa/integration/forms/MasterDetailForms.java
@@ -347,7 +347,7 @@ public class MasterDetailForms extends complexlib.ComplexTestCase implements com
while ( !m_loaded )
{
try { m_waitForLoad.wait(); }
- catch( java.lang.InterruptedException e ) { }
+ catch( InterruptedException e ) { }
}
// reset the flag for the next time
m_loaded = false;
diff --git a/forms/qa/integration/forms/NumericValidator.java b/forms/qa/integration/forms/NumericValidator.java
index 0d5a74e8621d..0be23690d67d 100644
--- a/forms/qa/integration/forms/NumericValidator.java
+++ b/forms/qa/integration/forms/NumericValidator.java
@@ -70,6 +70,6 @@ public class NumericValidator extends integration.forms.ControlValidator
private boolean isProperDigitCount( double value)
{
- return ( java.lang.Math.floor( value * 10 ) == value * 10 );
+ return ( Math.floor( value * 10 ) == value * 10 );
}
}