summaryrefslogtreecommitdiff
path: root/javaunohelper
diff options
context:
space:
mode:
authorTakeshi Abe <tabe@fixedpoint.jp>2010-12-05 19:11:58 +0000
committerCaolán McNamara <caolanm@redhat.com>2010-12-06 09:16:29 +0000
commit36e2296bf8fae3c66a66eada3595cbb2628a4833 (patch)
treeea0857de290ed5b5874ec3f17d131fd61f827314 /javaunohelper
parent1b11499074d855e34f40953898594035ca451c71 (diff)
Replace all occured, occurance etc.
Diffstat (limited to 'javaunohelper')
-rw-r--r--javaunohelper/com/sun/star/comp/helper/ComponentContext.java2
-rw-r--r--javaunohelper/com/sun/star/lib/uno/helper/InterfaceContainer.java2
-rw-r--r--javaunohelper/com/sun/star/lib/uno/helper/PropertySet.java4
-rw-r--r--javaunohelper/test/com/sun/star/lib/uno/helper/ComponentBase_Test.java2
-rw-r--r--javaunohelper/test/com/sun/star/lib/uno/helper/Factory_Test.java2
-rw-r--r--javaunohelper/test/com/sun/star/lib/uno/helper/InterfaceContainer_Test.java2
-rw-r--r--javaunohelper/test/com/sun/star/lib/uno/helper/MultiTypeInterfaceContainer_Test.java2
-rw-r--r--javaunohelper/test/com/sun/star/lib/uno/helper/PropertySet_Test.java2
-rw-r--r--javaunohelper/test/com/sun/star/lib/uno/helper/WeakBase_Test.java2
9 files changed, 10 insertions, 10 deletions
diff --git a/javaunohelper/com/sun/star/comp/helper/ComponentContext.java b/javaunohelper/com/sun/star/comp/helper/ComponentContext.java
index fe3336c1dbfb..25cce2236c9a 100644
--- a/javaunohelper/com/sun/star/comp/helper/ComponentContext.java
+++ b/javaunohelper/com/sun/star/comp/helper/ComponentContext.java
@@ -167,7 +167,7 @@ public class ComponentContext implements XComponentContext, XComponent
catch (com.sun.star.uno.Exception exc)
{
if (DEBUG)
- System.err.println( "### exception occured on late init of singleton instance \"" + rName + "\": " + exc.getMessage() );
+ System.err.println( "### exception occurred on late init of singleton instance \"" + rName + "\": " + exc.getMessage() );
}
if (xInstance != null)
diff --git a/javaunohelper/com/sun/star/lib/uno/helper/InterfaceContainer.java b/javaunohelper/com/sun/star/lib/uno/helper/InterfaceContainer.java
index 404c5a5e3f3a..a0a72b5cf616 100644
--- a/javaunohelper/com/sun/star/lib/uno/helper/InterfaceContainer.java
+++ b/javaunohelper/com/sun/star/lib/uno/helper/InterfaceContainer.java
@@ -354,7 +354,7 @@ public class InterfaceContainer implements Cloneable
}
/**
- * Searches for the first occurence of the given argument, testing
+ * Searches for the first occurrence of the given argument, testing
* for equality using the <tt>equals</tt> method.
*
* @param elem an object.
diff --git a/javaunohelper/com/sun/star/lib/uno/helper/PropertySet.java b/javaunohelper/com/sun/star/lib/uno/helper/PropertySet.java
index ad2c8c7bcf88..a6db617bfe4f 100644
--- a/javaunohelper/com/sun/star/lib/uno/helper/PropertySet.java
+++ b/javaunohelper/com/sun/star/lib/uno/helper/PropertySet.java
@@ -617,7 +617,7 @@ XMultiPropertySet
* @return true - Conversion was successful. <em>newVal</em> contains a valid value for the property. false -
* conversion failed for some reason.
* @throws com.sun.star.lang.IllegalArgumentException The value provided is unfit for the property.
- * @throws com.sun.star.lang.WrappedTargetException - An exception occured during the conversion, that is to be made known
+ * @throws com.sun.star.lang.WrappedTargetException - An exception occurred during the conversion, that is to be made known
* to the caller.
*/
protected boolean convertPropertyValue(Property property, Object[] newVal, Object[]curVal, Object setVal)
@@ -799,7 +799,7 @@ XMultiPropertySet
* @param property the property for which the new value is set
* @param value the new value for the property.
* @throws com.sun.star.lang.WrappedTargetException An exception, which has to be made known to the caller,
- * occured during the setting of the value.
+ * occurred during the setting of the value.
*/
protected void setPropertyValueNoBroadcast(Property property, Object newVal)
throws WrappedTargetException
diff --git a/javaunohelper/test/com/sun/star/lib/uno/helper/ComponentBase_Test.java b/javaunohelper/test/com/sun/star/lib/uno/helper/ComponentBase_Test.java
index 86358d53cb85..412d114ab72c 100644
--- a/javaunohelper/test/com/sun/star/lib/uno/helper/ComponentBase_Test.java
+++ b/javaunohelper/test/com/sun/star/lib/uno/helper/ComponentBase_Test.java
@@ -143,7 +143,7 @@ public class ComponentBase_Test
for (int c= 0; c < i; c++)
bOk= bOk && r[c];
if (bOk == false)
- System.out.println("Errors occured!");
+ System.out.println("Errors occurred!");
else
System.out.println("No errors.");
diff --git a/javaunohelper/test/com/sun/star/lib/uno/helper/Factory_Test.java b/javaunohelper/test/com/sun/star/lib/uno/helper/Factory_Test.java
index c40b4c410286..111b2582f8f6 100644
--- a/javaunohelper/test/com/sun/star/lib/uno/helper/Factory_Test.java
+++ b/javaunohelper/test/com/sun/star/lib/uno/helper/Factory_Test.java
@@ -198,7 +198,7 @@ public class Factory_Test
}
catch (Exception exc)
{
- System.err.println( ">>>>>>>>>> exc occured: " + exc.toString() );
+ System.err.println( ">>>>>>>>>> exc occurred: " + exc.toString() );
exc.printStackTrace();
}
System.exit( 0 );
diff --git a/javaunohelper/test/com/sun/star/lib/uno/helper/InterfaceContainer_Test.java b/javaunohelper/test/com/sun/star/lib/uno/helper/InterfaceContainer_Test.java
index ba6df3038e0d..d74d2f91432e 100644
--- a/javaunohelper/test/com/sun/star/lib/uno/helper/InterfaceContainer_Test.java
+++ b/javaunohelper/test/com/sun/star/lib/uno/helper/InterfaceContainer_Test.java
@@ -983,7 +983,7 @@ public class InterfaceContainer_Test
for (int c= 0; c < i; c++)
bOk= bOk && r[c];
if ( ! bOk )
- System.out.println("Test finished.\nErrors occured!!!");
+ System.out.println("Test finished.\nErrors occurred!!!");
else
System.out.println("Test finished. \nNo errors.");
diff --git a/javaunohelper/test/com/sun/star/lib/uno/helper/MultiTypeInterfaceContainer_Test.java b/javaunohelper/test/com/sun/star/lib/uno/helper/MultiTypeInterfaceContainer_Test.java
index 9a855db6ddb5..1b3dc45e1c39 100644
--- a/javaunohelper/test/com/sun/star/lib/uno/helper/MultiTypeInterfaceContainer_Test.java
+++ b/javaunohelper/test/com/sun/star/lib/uno/helper/MultiTypeInterfaceContainer_Test.java
@@ -361,7 +361,7 @@ public class MultiTypeInterfaceContainer_Test
for (int c= 0; c < i; c++)
bOk= bOk && r[c];
if ( ! bOk )
- System.out.println("Test finished.\nErrors occured!!!");
+ System.out.println("Test finished.\nErrors occurred!!!");
else
System.out.println("Test finished. \nNo errors.");
diff --git a/javaunohelper/test/com/sun/star/lib/uno/helper/PropertySet_Test.java b/javaunohelper/test/com/sun/star/lib/uno/helper/PropertySet_Test.java
index 1a00899cbcf1..8c8c6a067852 100644
--- a/javaunohelper/test/com/sun/star/lib/uno/helper/PropertySet_Test.java
+++ b/javaunohelper/test/com/sun/star/lib/uno/helper/PropertySet_Test.java
@@ -1079,7 +1079,7 @@ public class PropertySet_Test
for (int c= 0; c < i; c++)
bOk= bOk && r[c];
if (bOk == false)
- System.out.println("Errors occured!");
+ System.out.println("Errors occurred!");
else
System.out.println("No errors.");
return bOk;
diff --git a/javaunohelper/test/com/sun/star/lib/uno/helper/WeakBase_Test.java b/javaunohelper/test/com/sun/star/lib/uno/helper/WeakBase_Test.java
index ad2869c239b1..6f5c61bbbeb1 100644
--- a/javaunohelper/test/com/sun/star/lib/uno/helper/WeakBase_Test.java
+++ b/javaunohelper/test/com/sun/star/lib/uno/helper/WeakBase_Test.java
@@ -199,7 +199,7 @@ public class WeakBase_Test
for (int c= 0; c < i; c++)
bOk= bOk && r[c];
if (bOk == false)
- System.out.println("Errors occured!");
+ System.out.println("Errors occurred!");
else
System.out.println("No errors.");