summaryrefslogtreecommitdiff
path: root/javaunohelper
diff options
context:
space:
mode:
authorrbuj <robert.buj@gmail.com>2014-09-09 18:45:15 +0200
committerThomas Arnhold <thomas@arnhold.org>2014-09-09 18:49:51 +0000
commit0d0920b13e23763ba2cc72eb48729ad2fad9d23d (patch)
tree079d5c57ae50023fa50cab9920742869fdaca371 /javaunohelper
parent660349579d282bcc62f5eb8b777a78c7fadf8b1c (diff)
javaunohelper: fix some misspellings
Change-Id: Ibfa6e6ed2a4b4d3fa4b5e5cf624e42442653d358 Reviewed-on: https://gerrit.libreoffice.org/11363 Reviewed-by: Thomas Arnhold <thomas@arnhold.org> Tested-by: Thomas Arnhold <thomas@arnhold.org>
Diffstat (limited to 'javaunohelper')
-rw-r--r--javaunohelper/com/sun/star/comp/helper/ComponentContextEntry.java2
-rw-r--r--javaunohelper/com/sun/star/lib/uno/helper/InterfaceContainer.java4
-rw-r--r--javaunohelper/com/sun/star/lib/uno/helper/PropertySet.java22
-rw-r--r--javaunohelper/com/sun/star/lib/uno/helper/WeakAdapter.java4
-rw-r--r--javaunohelper/com/sun/star/lib/uno/helper/WeakBase.java2
5 files changed, 17 insertions, 17 deletions
diff --git a/javaunohelper/com/sun/star/comp/helper/ComponentContextEntry.java b/javaunohelper/com/sun/star/comp/helper/ComponentContextEntry.java
index 67272bcfffc9..aa402d29c6d1 100644
--- a/javaunohelper/com/sun/star/comp/helper/ComponentContextEntry.java
+++ b/javaunohelper/com/sun/star/comp/helper/ComponentContextEntry.java
@@ -44,7 +44,7 @@ public class ComponentContextEntry
@param lateInit
object factory or service string
@param value
- pass null (dummy separating from second ctor signature)
+ pass null (dummy separating from second constructor signature)
*/
public ComponentContextEntry( Object lateInit, Object value )
{
diff --git a/javaunohelper/com/sun/star/lib/uno/helper/InterfaceContainer.java b/javaunohelper/com/sun/star/lib/uno/helper/InterfaceContainer.java
index 650be99c87c3..b49b28f523f2 100644
--- a/javaunohelper/com/sun/star/lib/uno/helper/InterfaceContainer.java
+++ b/javaunohelper/com/sun/star/lib/uno/helper/InterfaceContainer.java
@@ -39,7 +39,7 @@ import com.sun.star.uno.UnoRuntime;
* All methods are thread-safe. The same holds true for
* iterators, issued by this class. Several iterators can exist at the same time and can also
* be modified (java.util.ListIterator.add, java.util.ListIterator.remove etc.). To make this work,
- * the InterfaceContainer provides the iterators with copys of the list's data.
+ * the InterfaceContainer provides the iterators with copies of the list's data.
* The add and remove calls on the iterator modify the data in the iterator's list as well as
* in InterfaceContainer. Modification on InterfaceContainer, however, are not
* synchronized with existing iterators. For example
@@ -460,7 +460,7 @@ public class InterfaceContainer implements Cloneable
}
/** The iterator keeps a copy of the list. Changes to InterfaceContainer do not
- * affect the data of the iterator. Conversly, changes to the iterator are effect
+ * affect the data of the iterator. Conversely, changes to the iterator are effect
* InterfaceContainer.
*/
synchronized public ListIterator listIterator(int index)
diff --git a/javaunohelper/com/sun/star/lib/uno/helper/PropertySet.java b/javaunohelper/com/sun/star/lib/uno/helper/PropertySet.java
index 227dcdeff26e..c9bece6ac9fa 100644
--- a/javaunohelper/com/sun/star/lib/uno/helper/PropertySet.java
+++ b/javaunohelper/com/sun/star/lib/uno/helper/PropertySet.java
@@ -99,7 +99,7 @@ XMultiPropertySet
* These methods expect <em>id</em> to be a String which represents the name of a member variable
* which holds the property value.
* Only properties which are registered can be accessed. Registration has to occur during
- * initialization of the inheriting class (i.e. within the contructor).
+ * initialization of the inheriting class (i.e. within the constructor).
* @param prop The property to be registered.
* @param id Identifies the properties storage.
* @see #getPropertyId
@@ -114,7 +114,7 @@ XMultiPropertySet
* It does the same as {@link #registerProperty(Property, Object)}. The first four
* arguments are used to construct a Property object.
* Registration has to occur during
- * initialization of the inheriting class (i.e. within the contructor)
+ * initialization of the inheriting class (i.e. within the constructor)
* @param name The property's name (Property.Name).
* @param handle The property's handle (Property.Handle).
* @param type The property's type (Property.Type).
@@ -133,7 +133,7 @@ XMultiPropertySet
* is generated and does not have to be specified here. Use this method for registering
* a property if you do not care about the Property's handles.
* Registration has to occur during
- * initialization of the inheriting class (i.e. within the contructor).
+ * initialization of the inheriting class (i.e. within the constructor).
* @param name The property's name (Property.Name).
* @param type The property's type (Property.Type).
* @param attributes The property's attributes (Property.Attributes).
@@ -249,8 +249,8 @@ XMultiPropertySet
_handleToPropertyMap.put(Integer.valueOf(prop.Handle), prop);
}
- /** Assigns an identifyer object to a Property object so that the identifyer
- * can be obtained by {@link #getPropertyId getPropertyId} later on. The identifyer
+ /** Assigns an identifier object to a Property object so that the identifier
+ * can be obtained by {@link #getPropertyId getPropertyId} later on. The identifier
* is used to specify a certain storage for the property's value. If you do not
* override {@link #setPropertyValueNoBroadcast setPropertyValueNoBroadcast} or {@link #getPropertyValue(Property)}
* then the argument <em>id</em> has to be a String that equals the name of
@@ -268,7 +268,7 @@ XMultiPropertySet
_propertyToIdMap.put(prop, id);
}
- /** Returns the identifyer object for a certain Property. The object must have been
+ /** Returns the identifier object for a certain Property. The object must have been
* previously assigned to the Property object by {@link #assignPropertyId assignPropertyId}.
* Override this method if you want to implement your own mapping from Property objects to ids.
* Then you also need to override {@link #initMappings initMappings} and {@link #assignPropertyId assignPropertyId}.
@@ -295,7 +295,7 @@ XMultiPropertySet
}
/** Makes sure that listeners which are kept in aBoundLC (XPropertyChangeListener) and aVetoableLC
- * (XVetoableChangeListener) receive a disposing call. Also those listeners are relesased.
+ * (XVetoableChangeListener) receive a disposing call. Also those listeners are released.
*/
@Override
protected void postDisposing()
@@ -449,7 +449,7 @@ XMultiPropertySet
*
* Properties can have the attribute com.sun.star.beans.PropertyAttribute.MAYBEVOID, which means that the value
* (not the type) can be void. In order to assign a void value to a property one can either pass an Any which
- * contains a null reference or pass null directly. In bothe cases the null reference is only accepted if
+ * contains a null reference or pass null directly. In both cases the null reference is only accepted if
* the PropertyAttribute.MAYBEVOID attribute is set for the property.
*
* Properties which have the attribute MAYBEVOID set (Property.Attributes) can have a void value. The following
@@ -541,7 +541,7 @@ XMultiPropertySet
* class A inherits this class then members of class A
* can hold property values. If there is a class B which inherits A then only members of B can hold
* property values. The variables must be public. A property must have been registered (e.g. by
- * {@link #registerProperty(Property, Object)} in order for this method to work. The identifyer argument (type Object)
+ * {@link #registerProperty(Property, Object)} in order for this method to work. The identifier argument (type Object)
* used in the registerProperty methods must
* be a String, which is, the name of the member variable that holds the property value.
* If one opts to store values differently then one may override
@@ -559,7 +559,7 @@ XMultiPropertySet
* in the calling methods.
*
* Only if this method returns successfully further processing, such
- * as listener notification and finally the modifiction of the property's value, will occur.
+ * as listener notification and finally the modification of the property's value, will occur.
*
* The actual modification of a property's value is done by {@link #setPropertyValueNoBroadcast setPropertyValueNoBroadcast}
* which is called subsequent to convertPropertyValue.
@@ -814,7 +814,7 @@ XMultiPropertySet
/** Retrieves the value of a property. This implementation presumes that the values are stored in member variables
* of the furthest inheriting class (see {@link #convertPropertyValue convertPropertyValue}) and that the
* variables are public. The property must have
- * been registered, for example by {@link #registerProperty(Property, Object)}. The identifyer Object argument
+ * been registered, for example by {@link #registerProperty(Property, Object)}. The identifier Object argument
* must have been a String which was the name of the member variable holding the property value.
* When properties are to be stored differently one has to override this method as well as
* {@link #convertPropertyValue} and {@link #setPropertyValueNoBroadcast}. <br>
diff --git a/javaunohelper/com/sun/star/lib/uno/helper/WeakAdapter.java b/javaunohelper/com/sun/star/lib/uno/helper/WeakAdapter.java
index 060bbbcc3610..0239959f619b 100644
--- a/javaunohelper/com/sun/star/lib/uno/helper/WeakAdapter.java
+++ b/javaunohelper/com/sun/star/lib/uno/helper/WeakAdapter.java
@@ -48,11 +48,11 @@ public class WeakAdapter implements XAdapter
/** Called by the XWeak implementation (WeakBase) when it is being finalized.
* It is only being called once.
- * The registererd XReference listeners are notified. On notification they are
+ * The registered XReference listeners are notified. On notification they are
* to unregister themselves. The notification is thread-safe. However, it is possible
* to add a listener during the notification process, which will never receive a
* notification. To prevent this, one would have to synchronize this method with
- * the addReference method. But this can result in deadlocks in a multithreaded
+ * the addReference method. But this can result in deadlocks in a multi-threaded
* environment.
*/
void referentDying()
diff --git a/javaunohelper/com/sun/star/lib/uno/helper/WeakBase.java b/javaunohelper/com/sun/star/lib/uno/helper/WeakBase.java
index 8b89b492b1d2..24187ffb1290 100644
--- a/javaunohelper/com/sun/star/lib/uno/helper/WeakBase.java
+++ b/javaunohelper/com/sun/star/lib/uno/helper/WeakBase.java
@@ -38,7 +38,7 @@ public class WeakBase implements XWeak, XTypeProvider
protected static Map<Class<?>,Type[]> _mapTypes = new HashMap<Class<?>,Type[]>();
- /** Method of XWeak. The returned XAdapter implementation can be used to keap
+ /** Method of XWeak. The returned XAdapter implementation can be used to keep
* a weak reference to this object.
* @return a com.sun.star.uno.XAdapter implementation.
*/