summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDamjan Jovanovic <damjan@apache.org>2017-07-06 04:13:11 +0000
committerDamjan Jovanovic <damjan@apache.org>2017-07-06 04:13:11 +0000
commita43c1a4a3daa438a15e652649f35264539b25955 (patch)
treed5f28289a3dad3cb7941af769a3c84946245bfe6
parent3bce9618fafde4c4e8154aa2dbf55928c2062bf2 (diff)
Fix some comment typos in javaunohelper's PropertySet.java
Patch by: me
Notes
Notes: prefer: 0d0920b13e23763ba2cc72eb48729ad2fad9d23d
-rw-r--r--javaunohelper/com/sun/star/lib/uno/helper/PropertySet.java22
1 files changed, 11 insertions, 11 deletions
diff --git a/javaunohelper/com/sun/star/lib/uno/helper/PropertySet.java b/javaunohelper/com/sun/star/lib/uno/helper/PropertySet.java
index eefef8cc9e64..ba44a646ee7b 100644
--- a/javaunohelper/com/sun/star/lib/uno/helper/PropertySet.java
+++ b/javaunohelper/com/sun/star/lib/uno/helper/PropertySet.java
@@ -104,7 +104,7 @@ XMultiPropertySet
* These methods expect <em>id</em> to be a java.lang.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
@@ -119,7 +119,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).
@@ -254,8 +254,8 @@ XMultiPropertySet
_handleToPropertyMap.put(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 java.lang.String that equals the name of
@@ -273,7 +273,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}.
@@ -300,14 +300,14 @@ 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.
*/
protected void postDisposing()
{
// Create an event with this as sender
EventObject aEvt= new EventObject(this);
- // inform all listeners to reelease this object
+ // inform all listeners to release this object
aBoundLC.disposeAndClear(aEvt);
aVetoableLC.disposeAndClear(aEvt);
}
@@ -459,7 +459,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
@@ -551,7 +551,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 java.lang.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
@@ -566,7 +566,7 @@ XMultiPropertySet
* PropertyAttribute.READONLY or PropertyAttribute.MAYBEVOID. The processing of these attributes occurs
* in the calling methods.<br>
* Only if this method returns successfully further processing, such
- * as listener notification and finally the modifiction of the property's value, will occur.<br>
+ * as listener notification and finally the modification of the property's value, will occur.<br>
*
* The actual modification of a property's value is done by {@link #setPropertyValueNoBroadcast setPropertyValueNoBroadcast}
* which is called subsequent to convertPropertyValue.
@@ -821,7 +821,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 java.lang.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>