This is an automated email from the ASF dual-hosted git repository.
mseidel pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/openoffice.git
The following commit(s) were added to refs/heads/trunk by this push:
new 735f7b8c87 Fixed typo (continer -> container) and some other
735f7b8c87 is described below
commit 735f7b8c870e84d76f231cd5977ef37416a57f33
Author: mseidel <[email protected]>
AuthorDate: Mon Feb 3 23:00:00 2025 +0100
Fixed typo (continer -> container) and some other
---
.../sun/star/script/XStorageBasedLibraryContainer.idl | 17 +++++++----------
.../src/main/java/ifc/container/_XIndexContainer.java | 16 +++++++---------
.../src/main/java/ifc/container/_XIndexReplace.java | 17 +++++++----------
.../src/main/java/ifc/container/_XNameContainer.java | 16 +++++++---------
4 files changed, 28 insertions(+), 38 deletions(-)
diff --git a/main/offapi/com/sun/star/script/XStorageBasedLibraryContainer.idl
b/main/offapi/com/sun/star/script/XStorageBasedLibraryContainer.idl
index 781055ea86..8750401270 100644
--- a/main/offapi/com/sun/star/script/XStorageBasedLibraryContainer.idl
+++ b/main/offapi/com/sun/star/script/XStorageBasedLibraryContainer.idl
@@ -1,5 +1,5 @@
/**************************************************************
- *
+ *
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -7,21 +7,18 @@
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
- *
+ *
*************************************************************/
-
-
-
#ifndef __com_sun_star_script_XStorageBasedLibraryContainer_idl__
#define __com_sun_star_script_XStorageBasedLibraryContainer_idl__
@@ -34,7 +31,7 @@
//=============================================================================
-module com { module sun { module star { module script {
+module com { module sun { module star { module script {
//=============================================================================
@@ -61,7 +58,7 @@ interface XStorageBasedLibraryContainer
<p>You should only <em>set</em> this attribute to a new value if you
previously
called storeLibrariesToStorage with the same storage. Setting this
attribute
to a storage into which the container has not been stored previously
might
- result in unexpected behaviour.</p>
+ result in unexpected behavior.</p>
*/
[attribute] ::com::sun::star::embed::XStorage RootStorage
{
@@ -70,7 +67,7 @@ interface XStorageBasedLibraryContainer
/** stores the libraries to a storage other than the current container
storage
- <p>Note that the library continer is not automatically associated with
the
+ <p>Note that the library container is not automatically associated
with the
new root storage. Instead, you need to manually set the
<type>RootStroage</type>
attribute afterwards. This separation allows for Save-To as well
Save-As
operations.</p>
diff --git
a/main/qadevOOo/java/OOoRunner/src/main/java/ifc/container/_XIndexContainer.java
b/main/qadevOOo/java/OOoRunner/src/main/java/ifc/container/_XIndexContainer.java
index 90cde76af1..347f765fef 100644
---
a/main/qadevOOo/java/OOoRunner/src/main/java/ifc/container/_XIndexContainer.java
+++
b/main/qadevOOo/java/OOoRunner/src/main/java/ifc/container/_XIndexContainer.java
@@ -1,5 +1,5 @@
/**************************************************************
- *
+ *
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -7,20 +7,18 @@
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
- *
+ *
*************************************************************/
-
-
package ifc.container;
import lib.MultiMethodTest;
@@ -44,7 +42,7 @@ import com.sun.star.lang.IndexOutOfBoundsException;
* <li> <code>'XIndexContainerINDEX'</code> : For internal test
* usage. Contains current thread number. </li>
* <li> Test environment variable <code>'THRCNT'</code> : number
-* of interface threads running concurently. </li>
+* of interface threads running concurrently. </li>
* <ul> <p>
* XIndexComtainer needs n ObjectRelations "INSTANCEn" , where n=1, ...,
* THRCNT.<p>
@@ -56,14 +54,14 @@ import com.sun.star.lang.IndexOutOfBoundsException;
* <p>
* This ObjectRelations should be necessary to create an Object,
* which is insertable by insterByIndex()
-* INSTANCEn are n Objectrelations so that every thread can isert it's own
+* INSTANCEn are n Objectrelations so that every thread can insert its own
* object. n depends on the variable THRCNT which and comes from API.INI
* <p>
* Why that:
* If you insert the same Object by insertByIndex() several times you
* don't insert the Object several times. The first insertByIndex() inserts
* the Object to the Container but all other insertByIndex() changes
-* the Index in the Continer because it's the same Object. <p>
+* the Index in the container because it's the same Object. <p>
* Test is multithread compliant. <p>
* @see com.sun.star.container.XIndexContainer
*/
diff --git
a/main/qadevOOo/java/OOoRunner/src/main/java/ifc/container/_XIndexReplace.java
b/main/qadevOOo/java/OOoRunner/src/main/java/ifc/container/_XIndexReplace.java
index 0de41b3173..4c284e4927 100644
---
a/main/qadevOOo/java/OOoRunner/src/main/java/ifc/container/_XIndexReplace.java
+++
b/main/qadevOOo/java/OOoRunner/src/main/java/ifc/container/_XIndexReplace.java
@@ -1,5 +1,5 @@
/**************************************************************
- *
+ *
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -7,20 +7,18 @@
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
- *
+ *
*************************************************************/
-
-
package ifc.container;
import lib.MultiMethodTest;
@@ -32,7 +30,6 @@ import com.sun.star.lang.IllegalArgumentException;
import com.sun.star.lang.IndexOutOfBoundsException;
import com.sun.star.uno.UnoRuntime;
-
/**
* Testing <code>com.sun.star.container.XIndexReplace</code>
* interface methods :
@@ -47,7 +44,7 @@ import com.sun.star.uno.UnoRuntime;
* <li> <code>'XIndexReplaceINDEX'</code> : For internal test
* usage. Contains current thread number. </li>
* <li> Test environment variable <code>'THRCNT'</code> : number
-* of interface threads running concurently. </li>
+* of interface threads running concurrently. </li>
* <ul> <p>
* XIndexReplace needs n ObjectRelations "INSTANCEn" , where n = 1, ..., THRCNT.
* <p>
@@ -58,14 +55,14 @@ import com.sun.star.uno.UnoRuntime;
* <p>
* This ObjectRelations should be necessary to create an Object,
* which is can be replaced by index
-* INSTANCEn are n Objectrelations so that every thread can isert it's own
+* INSTANCEn are n Objectrelations so that every thread can insert its own
* object. n depends on the variable THRCNT which and comes from API.INI
* <p>
* Why that:
* If you insert the same Object by replaceByIndex() several times you
* don't insert the Object several times. The first replaceByIndex() inserts
* the Object to the Container but all other replaceByIndex() changes
-* the Index in the Continer because it's the same Object. <p>
+* the Index in the container because it's the same Object. <p>
* Test is multithread compliant. <p>
* @see com.sun.star.container.XIndexReplace
*/
diff --git
a/main/qadevOOo/java/OOoRunner/src/main/java/ifc/container/_XNameContainer.java
b/main/qadevOOo/java/OOoRunner/src/main/java/ifc/container/_XNameContainer.java
index dca01c0000..6ed12f683c 100644
---
a/main/qadevOOo/java/OOoRunner/src/main/java/ifc/container/_XNameContainer.java
+++
b/main/qadevOOo/java/OOoRunner/src/main/java/ifc/container/_XNameContainer.java
@@ -1,5 +1,5 @@
/**************************************************************
- *
+ *
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -7,20 +7,18 @@
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
- *
+ *
*************************************************************/
-
-
package ifc.container;
import com.sun.star.container.NoSuchElementException;
@@ -46,7 +44,7 @@ import lib.StatusException;
* if this relation exists then container elements can have duplicate
* names. </li>
* <li> Test environment variable <code>'THRCNT'</code> : number
-* of interface threads running concurently. </li>
+* of interface threads running concurrently. </li>
* <ul> <p>
* XNameComtainer needs n ObjectRelations "INSTANCEn" , where n=1, ..., THRCNT.
*
@@ -59,7 +57,7 @@ import lib.StatusException;
* If you insert the same Object by insertByName() several times you
* don't insert the Object several times. The first insertByName() inserts
* the Object to the Container but all other insertByName() changes
-* the Name in the Continer because it's the same Object.
+* the Name in the container because it's the same Object.
* @see com.sun.star.container.XNameContainer
*/
@@ -200,7 +198,7 @@ public class _XNameContainer extends MultiMethodTest {
oObj.removeByName(Name);
} catch (com.sun.star.container.NoSuchElementException e1) {
} catch (com.sun.star.lang.WrappedTargetException e1) {
- }
+ }
}
boolean result = true;