summaryrefslogtreecommitdiff
path: root/qadevOOo/tests/java/ifc
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 /qadevOOo/tests/java/ifc
parent1e6f0b2d8b35f856637eedf91729e522fcc633e8 (diff)
java: classes in java.lang package do not need to be fully qualified
Change-Id: I7b18f62336c3a8ca4c538b30ce04c99f202a4756
Diffstat (limited to 'qadevOOo/tests/java/ifc')
-rw-r--r--qadevOOo/tests/java/ifc/awt/_XTextComponent.java2
-rw-r--r--qadevOOo/tests/java/ifc/beans/_XMultiPropertySet.java2
-rw-r--r--qadevOOo/tests/java/ifc/bridge/_XBridgeFactory.java2
-rw-r--r--qadevOOo/tests/java/ifc/bridge/_XUnoUrlResolver.java2
-rw-r--r--qadevOOo/tests/java/ifc/configuration/backend/_XLayerHandler.java12
-rw-r--r--qadevOOo/tests/java/ifc/configuration/backend/_XUpdateHandler.java18
-rw-r--r--qadevOOo/tests/java/ifc/connection/_XAcceptor.java2
-rw-r--r--qadevOOo/tests/java/ifc/connection/_XConnector.java2
-rw-r--r--qadevOOo/tests/java/ifc/container/_XIndexAccess.java2
-rw-r--r--qadevOOo/tests/java/ifc/frame/_XDispatch.java6
-rw-r--r--qadevOOo/tests/java/ifc/frame/_XNotifyingDispatch.java2
-rw-r--r--qadevOOo/tests/java/ifc/i18n/_XCharacterClassification.java4
-rw-r--r--qadevOOo/tests/java/ifc/i18n/_XTransliteration.java8
-rw-r--r--qadevOOo/tests/java/ifc/sdbc/_XParameters.java2
-rw-r--r--qadevOOo/tests/java/ifc/sdbc/_XRow.java2
-rw-r--r--qadevOOo/tests/java/ifc/sdbc/_XRowUpdate.java2
-rw-r--r--qadevOOo/tests/java/ifc/sheet/_XDocumentAuditing.java2
-rw-r--r--qadevOOo/tests/java/ifc/sheet/_XGoalSeek.java2
-rw-r--r--qadevOOo/tests/java/ifc/ucb/_XCommandProcessor.java2
19 files changed, 38 insertions, 38 deletions
diff --git a/qadevOOo/tests/java/ifc/awt/_XTextComponent.java b/qadevOOo/tests/java/ifc/awt/_XTextComponent.java
index ae8de12c7efa..33f8fdfe10e5 100644
--- a/qadevOOo/tests/java/ifc/awt/_XTextComponent.java
+++ b/qadevOOo/tests/java/ifc/awt/_XTextComponent.java
@@ -92,7 +92,7 @@ public class _XTextComponent extends MultiMethodTest {
oObj.setText("Listen");
try {
Thread.sleep(500);
- } catch(java.lang.InterruptedException e) {
+ } catch(InterruptedException e) {
e.printStackTrace(log);
}
if (!textChanged) {
diff --git a/qadevOOo/tests/java/ifc/beans/_XMultiPropertySet.java b/qadevOOo/tests/java/ifc/beans/_XMultiPropertySet.java
index 4b2a03f1c104..a47758a26ffc 100644
--- a/qadevOOo/tests/java/ifc/beans/_XMultiPropertySet.java
+++ b/qadevOOo/tests/java/ifc/beans/_XMultiPropertySet.java
@@ -344,7 +344,7 @@ public class _XMultiPropertySet extends MultiMethodTest {
private void waitAMoment() {
try {
Thread.sleep(200) ;
- } catch (java.lang.InterruptedException e) {
+ } catch (InterruptedException e) {
log.println("!!! Exception while waiting !!!") ;
}
}
diff --git a/qadevOOo/tests/java/ifc/bridge/_XBridgeFactory.java b/qadevOOo/tests/java/ifc/bridge/_XBridgeFactory.java
index 8d72ae42d661..bebad0e524f2 100644
--- a/qadevOOo/tests/java/ifc/bridge/_XBridgeFactory.java
+++ b/qadevOOo/tests/java/ifc/bridge/_XBridgeFactory.java
@@ -165,7 +165,7 @@ public class _XBridgeFactory extends MultiMethodTest {
try {
Thread.sleep(500);
}
- catch (java.lang.InterruptedException e) {}
+ catch (InterruptedException e) {}
conn = xCntr.connect(connectString) ;
} catch (com.sun.star.uno.Exception e) {
diff --git a/qadevOOo/tests/java/ifc/bridge/_XUnoUrlResolver.java b/qadevOOo/tests/java/ifc/bridge/_XUnoUrlResolver.java
index 8c06a2a89277..d108053e2341 100644
--- a/qadevOOo/tests/java/ifc/bridge/_XUnoUrlResolver.java
+++ b/qadevOOo/tests/java/ifc/bridge/_XUnoUrlResolver.java
@@ -169,7 +169,7 @@ public class _XUnoUrlResolver extends MultiMethodTest {
try {
Thread.sleep(500);
}
- catch(java.lang.InterruptedException e) {}
+ catch(InterruptedException e) {}
// get an instance from the remote
Object obj = oObj.resolve(
"uno:" + connectStr + ";urp;com.sun.star.lang.ServiceManager");
diff --git a/qadevOOo/tests/java/ifc/configuration/backend/_XLayerHandler.java b/qadevOOo/tests/java/ifc/configuration/backend/_XLayerHandler.java
index 224394755ad8..445a820c6bff 100644
--- a/qadevOOo/tests/java/ifc/configuration/backend/_XLayerHandler.java
+++ b/qadevOOo/tests/java/ifc/configuration/backend/_XLayerHandler.java
@@ -44,14 +44,14 @@ public class _XLayerHandler extends MultiMethodTest {
oObj.overrideNode("org.openoffice.Setup", (short) 0, false);
oObj.overrideNode("Office", (short) 0, false);
oObj.overrideProperty("ooSetupInstCompleted", (short) 0,
- new Type(java.lang.String.class), false);
+ new Type(String.class), false);
oObj.setPropertyValue(new Boolean(false));
oObj.endProperty();
oObj.overrideNode("Factories", (short) 0, false);
oObj.addOrReplaceNode("com.sun.star.chart.ChartDocument",
(short) 0);
oObj.overrideProperty("ooSetupFactoryEmptyDocumentURL", (short) 0,
- new Type(java.lang.String.class), false);
+ new Type(String.class), false);
oObj.setPropertyValue("private:factory/schart");
oObj.endProperty();
oObj.overrideProperty("ooSetupFactoryIcon", (short) 0,
@@ -59,23 +59,23 @@ public class _XLayerHandler extends MultiMethodTest {
oObj.setPropertyValue(new Integer(13));
oObj.endProperty();
oObj.overrideProperty("ooSetupFactoryShortName", (short) 0,
- new Type(java.lang.String.class), false);
+ new Type(String.class), false);
oObj.setPropertyValue("schart");
oObj.setPropertyValueForLocale("TemplateFile", "en-US");
oObj.endProperty();
oObj.overrideProperty("ooSetupFactoryTemplateFile", (short) 0,
- new Type(java.lang.String.class), false);
+ new Type(String.class), false);
oObj.setPropertyValue("empty");
oObj.endProperty();
oObj.addProperty("ooSetupFactoryTemplateFile", (short) 0,
- new Type(java.lang.String.class));
+ new Type(String.class));
oObj.addPropertyWithValue("ooSetupFactoryTemplateFile", (short) 0,
"TemplateFile");
oObj.endNode();
oObj.addOrReplaceNode("dropme", (short) 0);
oObj.overrideProperty("anyway", (short) 0,
- new Type(java.lang.String.class), false);
+ new Type(String.class), false);
oObj.setPropertyValue("nice");
oObj.endProperty();
oObj.dropNode("dropme");
diff --git a/qadevOOo/tests/java/ifc/configuration/backend/_XUpdateHandler.java b/qadevOOo/tests/java/ifc/configuration/backend/_XUpdateHandler.java
index 6e86d034c3e6..4c38734682b7 100644
--- a/qadevOOo/tests/java/ifc/configuration/backend/_XUpdateHandler.java
+++ b/qadevOOo/tests/java/ifc/configuration/backend/_XUpdateHandler.java
@@ -40,7 +40,7 @@ public class _XUpdateHandler extends MultiMethodTest {
false);
xLayerHandler.overrideNode("Office", (short) 0, false);
xLayerHandler.overrideProperty("ooSetupInstCompleted", (short) 0,
- new Type(java.lang.String.class),
+ new Type(String.class),
false);
xLayerHandler.setPropertyValue(new Boolean(false));
xLayerHandler.endProperty();
@@ -49,7 +49,7 @@ public class _XUpdateHandler extends MultiMethodTest {
(short) 0);
xLayerHandler.overrideProperty("ooSetupFactoryEmptyDocumentURL",
(short) 0,
- new Type(java.lang.String.class),
+ new Type(String.class),
false);
xLayerHandler.setPropertyValue("private:factory/schart");
xLayerHandler.endProperty();
@@ -60,26 +60,26 @@ public class _XUpdateHandler extends MultiMethodTest {
xLayerHandler.endProperty();
xLayerHandler.overrideProperty("ooSetupFactoryShortName",
(short) 0,
- new Type(java.lang.String.class),
+ new Type(String.class),
false);
xLayerHandler.setPropertyValue("schart");
xLayerHandler.setPropertyValueForLocale("TemplateFile", "en-US");
xLayerHandler.endProperty();
xLayerHandler.overrideProperty("ooSetupFactoryTemplateFile",
(short) 0,
- new Type(java.lang.String.class),
+ new Type(String.class),
false);
xLayerHandler.setPropertyValue("empty");
xLayerHandler.endProperty();
xLayerHandler.addProperty("ooSetupFactoryTemplateFile", (short) 0,
- new Type(java.lang.String.class));
+ new Type(String.class));
xLayerHandler.addPropertyWithValue("ooSetupFactoryTemplateFile",
(short) 0, "TemplateFile");
xLayerHandler.endNode();
xLayerHandler.addOrReplaceNode("dropme", (short) 0);
xLayerHandler.overrideProperty("anyway", (short) 0,
- new Type(java.lang.String.class),
+ new Type(String.class),
false);
xLayerHandler.setPropertyValue("nice");
xLayerHandler.endProperty();
@@ -195,15 +195,15 @@ public class _XUpdateHandler extends MultiMethodTest {
oObj.addOrReplaceNodeFromTemplate("Office", (short) 0,
new TemplateIdentifier());
oObj.addOrReplaceProperty("prop", (short) 0,
- new Type(java.lang.String.class));
+ new Type(String.class));
oObj.addOrReplacePropertyWithValue("prop2", (short) 0, "this");
oObj.modifyProperty("ooSetupFactoryIcon", (short) 0, (short) 0,
- new Type(java.lang.String.class));
+ new Type(String.class));
oObj.resetPropertyValue();
oObj.resetPropertyValueForLocale("en-US");
oObj.endProperty();
oObj.modifyProperty("ooSetupFactoryEmptyDocumentURL", (short) 0,
- (short) 0, new Type(java.lang.String.class));
+ (short) 0, new Type(String.class));
oObj.setPropertyValue("newValue");
oObj.setPropertyValueForLocale("newValue-US", "de-DE");
oObj.endProperty();
diff --git a/qadevOOo/tests/java/ifc/connection/_XAcceptor.java b/qadevOOo/tests/java/ifc/connection/_XAcceptor.java
index 09ff4c65a421..01d8fdff0cad 100644
--- a/qadevOOo/tests/java/ifc/connection/_XAcceptor.java
+++ b/qadevOOo/tests/java/ifc/connection/_XAcceptor.java
@@ -149,7 +149,7 @@ public class _XAcceptor extends MultiMethodTest {
try {
Thread.sleep(500);
}
- catch (java.lang.InterruptedException e) {}
+ catch (InterruptedException e) {}
XConnection con = xConnector.connect(connectString) ;
diff --git a/qadevOOo/tests/java/ifc/connection/_XConnector.java b/qadevOOo/tests/java/ifc/connection/_XConnector.java
index d9ac5b10c529..16319b34e13f 100644
--- a/qadevOOo/tests/java/ifc/connection/_XConnector.java
+++ b/qadevOOo/tests/java/ifc/connection/_XConnector.java
@@ -130,7 +130,7 @@ public class _XConnector extends MultiMethodTest {
try {
Thread.sleep(500);
}
- catch (java.lang.InterruptedException e) {}
+ catch (InterruptedException e) {}
// connect to acceptor
try {
diff --git a/qadevOOo/tests/java/ifc/container/_XIndexAccess.java b/qadevOOo/tests/java/ifc/container/_XIndexAccess.java
index 2c27f95faf20..5b5e8f8de987 100644
--- a/qadevOOo/tests/java/ifc/container/_XIndexAccess.java
+++ b/qadevOOo/tests/java/ifc/container/_XIndexAccess.java
@@ -78,7 +78,7 @@ public class _XIndexAccess extends MultiMethodTest {
try {
Thread.sleep(200);
}
- catch(java.lang.InterruptedException e) {}
+ catch(InterruptedException e) {}
boolean result = true;
log.println("Testing getByIndex()");
diff --git a/qadevOOo/tests/java/ifc/frame/_XDispatch.java b/qadevOOo/tests/java/ifc/frame/_XDispatch.java
index d1f50fc24171..a31f9b93c5ff 100644
--- a/qadevOOo/tests/java/ifc/frame/_XDispatch.java
+++ b/qadevOOo/tests/java/ifc/frame/_XDispatch.java
@@ -133,7 +133,7 @@ public class _XDispatch extends MultiMethodTest {
try {
Thread.sleep(200);
}
- catch(java.lang.InterruptedException e) {}
+ catch(InterruptedException e) {}
log.println(" Listener called: "+ notificationListener.finishedDispatch);
@@ -177,7 +177,7 @@ public class _XDispatch extends MultiMethodTest {
try {
Thread.sleep(200);
}
- catch(java.lang.InterruptedException e) {}
+ catch(InterruptedException e) {}
log.println("Listener called: "+ listener.statusChangedCalled);
@@ -222,7 +222,7 @@ public class _XDispatch extends MultiMethodTest {
try {
Thread.sleep(200);
}
- catch(java.lang.InterruptedException e) {}
+ catch(InterruptedException e) {}
System.out.println("Listener called: "+ listener.statusChangedCalled);
diff --git a/qadevOOo/tests/java/ifc/frame/_XNotifyingDispatch.java b/qadevOOo/tests/java/ifc/frame/_XNotifyingDispatch.java
index 650b2dba35c2..c570f6531c98 100644
--- a/qadevOOo/tests/java/ifc/frame/_XNotifyingDispatch.java
+++ b/qadevOOo/tests/java/ifc/frame/_XNotifyingDispatch.java
@@ -109,7 +109,7 @@ public class _XNotifyingDispatch extends MultiMethodTest {
try {
Thread.sleep(200);
}
- catch(java.lang.InterruptedException e) {}
+ catch(InterruptedException e) {}
log.println("Listener called: "+ notificationListener.finishedDispatch);
diff --git a/qadevOOo/tests/java/ifc/i18n/_XCharacterClassification.java b/qadevOOo/tests/java/ifc/i18n/_XCharacterClassification.java
index 2258c6b93383..4510c88f63cb 100644
--- a/qadevOOo/tests/java/ifc/i18n/_XCharacterClassification.java
+++ b/qadevOOo/tests/java/ifc/i18n/_XCharacterClassification.java
@@ -95,7 +95,7 @@ public class _XCharacterClassification extends MultiMethodTest {
/**
* Test calls the method for different locales. Then each result is compared
* with a string, converted to a upper case using
- * <code>java.lang.String</code> method <code>toUpperCase()</code>.<p>
+ * <code>String</code> method <code>toUpperCase()</code>.<p>
* Has <b> OK </b> status if string, returned by the method is equal to
* a string that is returned by String.toUpperCase() for all locales.
*/
@@ -124,7 +124,7 @@ public class _XCharacterClassification extends MultiMethodTest {
/**
* Test calls the method for different locales. Then each result is compared
* with a string, converted to a lower case using
- * <code>java.lang.String</code> method <code>toLowerCase()</code>.<p>
+ * <code>String</code> method <code>toLowerCase()</code>.<p>
* Has <b> OK </b> status if string, returned by the method is equal to
* a string that is returned by String.toLowerCase() for all locales.
*/
diff --git a/qadevOOo/tests/java/ifc/i18n/_XTransliteration.java b/qadevOOo/tests/java/ifc/i18n/_XTransliteration.java
index a300454cca81..055f9c43fa66 100644
--- a/qadevOOo/tests/java/ifc/i18n/_XTransliteration.java
+++ b/qadevOOo/tests/java/ifc/i18n/_XTransliteration.java
@@ -325,7 +325,7 @@ public class _XTransliteration extends MultiMethodTest {
int res = -666 ;
try {
res = oObj.compareSubstring(str1, p1, len1, str2, p2, len2);
- } catch (java.lang.NullPointerException e) {
+ } catch (NullPointerException e) {
log.println("Exception while method calling occurs :" + e);
}
@@ -342,7 +342,7 @@ public class _XTransliteration extends MultiMethodTest {
res = -666 ;
try {
res = oObj.compareSubstring(str2, p2, len2, str1, p1, len1);
- } catch (java.lang.NullPointerException e) {
+ } catch (NullPointerException e) {
log.println("Exception while method calling occurs :" + e);
}
@@ -411,7 +411,7 @@ public class _XTransliteration extends MultiMethodTest {
int res = -666 ;
try {
res = oObj.compareString(str1, str2);
- } catch (java.lang.NullPointerException e) {
+ } catch (NullPointerException e) {
log.println("Exception while method calling occurs :" + e);
}
@@ -428,7 +428,7 @@ public class _XTransliteration extends MultiMethodTest {
res = -666 ;
try {
res = oObj.compareString(str2, str1);
- } catch (java.lang.NullPointerException e) {
+ } catch (NullPointerException e) {
log.println("Exception while method calling occurs :" + e);
}
diff --git a/qadevOOo/tests/java/ifc/sdbc/_XParameters.java b/qadevOOo/tests/java/ifc/sdbc/_XParameters.java
index 5701729ecac3..36d0bddc2ead 100644
--- a/qadevOOo/tests/java/ifc/sdbc/_XParameters.java
+++ b/qadevOOo/tests/java/ifc/sdbc/_XParameters.java
@@ -82,7 +82,7 @@ import com.sun.star.util.Time;
* index 0 must be used. </li>
* </ul>
* Other methods uses types of their arguments (i.e.
-* <code>java.lang.String</code>
+* <code>String</code>
* for <code>setString</code> method, <code>com.sun.star.sdbc.XRef</code>
* for <code>setRef</code> method).
* </li>
diff --git a/qadevOOo/tests/java/ifc/sdbc/_XRow.java b/qadevOOo/tests/java/ifc/sdbc/_XRow.java
index d681384b9bac..8f1264182f95 100644
--- a/qadevOOo/tests/java/ifc/sdbc/_XRow.java
+++ b/qadevOOo/tests/java/ifc/sdbc/_XRow.java
@@ -82,7 +82,7 @@ import com.sun.star.util.Time;
* <code>java.lang.Object[]</code> class, the element with
* index 0 must be used. </li>
* </ul>
-* Other methods uses types they return (i.e. <code>java.lang.String</code>
+* Other methods uses types they return (i.e. <code>String</code>
* for <code>getString</code> method, <code>com.sun.star.sdbc.XRef</code>
* for <code>getRef</code> method).
* </li>
diff --git a/qadevOOo/tests/java/ifc/sdbc/_XRowUpdate.java b/qadevOOo/tests/java/ifc/sdbc/_XRowUpdate.java
index 9b55ded68714..68e76a9c6519 100644
--- a/qadevOOo/tests/java/ifc/sdbc/_XRowUpdate.java
+++ b/qadevOOo/tests/java/ifc/sdbc/_XRowUpdate.java
@@ -75,7 +75,7 @@ import com.sun.star.util.Time;
* <code>java.lang.Object[]</code> class, the element with
* index 0 must be used. </li>
* </ul>
-* Other methods uses types they return (i.e. <code>java.lang.String</code>
+* Other methods uses types they return (i.e. <code>String</code>
* for <code>setString</code> method, <code>com.sun.star.sdbc.XRef</code>
* for <code>setRef</code> method).
* </li>
diff --git a/qadevOOo/tests/java/ifc/sheet/_XDocumentAuditing.java b/qadevOOo/tests/java/ifc/sheet/_XDocumentAuditing.java
index bba15dd95b95..f87d38145680 100644
--- a/qadevOOo/tests/java/ifc/sheet/_XDocumentAuditing.java
+++ b/qadevOOo/tests/java/ifc/sheet/_XDocumentAuditing.java
@@ -73,7 +73,7 @@ public class _XDocumentAuditing extends MultiMethodTest {
catch(com.sun.star.lang.WrappedTargetException e) {
ex = e;
}
- catch(java.lang.NullPointerException e) {
+ catch(NullPointerException e) {
ex = e;
}
if (ex != null) {
diff --git a/qadevOOo/tests/java/ifc/sheet/_XGoalSeek.java b/qadevOOo/tests/java/ifc/sheet/_XGoalSeek.java
index c8c31ac79229..e18a834eb118 100644
--- a/qadevOOo/tests/java/ifc/sheet/_XGoalSeek.java
+++ b/qadevOOo/tests/java/ifc/sheet/_XGoalSeek.java
@@ -55,7 +55,7 @@ public class _XGoalSeek extends MultiMethodTest {
catch(com.sun.star.lang.WrappedTargetException e) {
ex = e;
}
- catch(java.lang.NullPointerException e) {
+ catch(NullPointerException e) {
ex = e;
}
if (ex != null) {
diff --git a/qadevOOo/tests/java/ifc/ucb/_XCommandProcessor.java b/qadevOOo/tests/java/ifc/ucb/_XCommandProcessor.java
index 0ba9a03e9acf..751c22efacfd 100644
--- a/qadevOOo/tests/java/ifc/ucb/_XCommandProcessor.java
+++ b/qadevOOo/tests/java/ifc/ucb/_XCommandProcessor.java
@@ -234,7 +234,7 @@ public class _XCommandProcessor extends MultiMethodTest {
try {
aborter.join(5000);
aborter.interrupt();
- } catch(java.lang.InterruptedException e) {
+ } catch(InterruptedException e) {
}
}
}