openoffice-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dam...@apache.org
Subject svn commit: r1800966 - /openoffice/trunk/main/javaunohelper/com/sun/star/lib/uno/helper/PropertySet.java
Date Thu, 06 Jul 2017 04:13:11 GMT
Author: damjan
Date: Thu Jul  6 04:13:11 2017
New Revision: 1800966

URL: http://svn.apache.org/viewvc?rev=1800966&view=rev
Log:
Fix some comment typos in javaunohelper's PropertySet.java

Patch by: me


Modified:
    openoffice/trunk/main/javaunohelper/com/sun/star/lib/uno/helper/PropertySet.java

Modified: openoffice/trunk/main/javaunohelper/com/sun/star/lib/uno/helper/PropertySet.java
URL: http://svn.apache.org/viewvc/openoffice/trunk/main/javaunohelper/com/sun/star/lib/uno/helper/PropertySet.java?rev=1800966&r1=1800965&r2=1800966&view=diff
==============================================================================
--- openoffice/trunk/main/javaunohelper/com/sun/star/lib/uno/helper/PropertySet.java (original)
+++ openoffice/trunk/main/javaunohelper/com/sun/star/lib/uno/helper/PropertySet.java Thu Jul
 6 04:13:11 2017
@@ -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>



Mime
View raw message