Commit 8e77c1d1 authored by Hollow Man's avatar Hollow Man Committed by Jeffrey Schiller

Change propertyDefintions into propertyDefinitions

Fix typos:

propertyDefintions -> propertyDefinitions
Exsting -> Existing
Signed-off-by: default avatarHollow Man <hollowman@hollowman.ml>
parent 0670fc6b
......@@ -88,16 +88,16 @@ public class PropertiesUtil {
}
/**
* Populate properties of a MockComponent, given a list of property definitons
* Populate properties of a MockComponent, given a list of property definitions
* @param mockComponent
* @param propertyDefintions
* @param propertyDefinitions
*/
public static void populateProperties(MockComponent mockComponent, List<ComponentDatabaseInterface.PropertyDefinition> propertyDefintions,
public static void populateProperties(MockComponent mockComponent, List<ComponentDatabaseInterface.PropertyDefinition> propertyDefinitions,
YaFormEditor editor) {
String componentType = mockComponent.getType();
// Configure properties
for (ComponentDatabaseInterface.PropertyDefinition property : propertyDefintions) {
for (ComponentDatabaseInterface.PropertyDefinition property : propertyDefinitions) {
mockComponent.addProperty(property.getName(), property.getDefaultValue(),
ComponentsTranslation.getPropertyName(property.getCaption()),
property.getEditorType(), property.getEditorArgs(),
......@@ -109,7 +109,7 @@ public class PropertiesUtil {
}
// Use individual methods for each property since we can't write the generic
// getExstingPropertyEditor due to type safety issues - see below.
// getExistingPropertyEditor due to type safety issues - see below.
/**
* Retrieves the property editor for Horizontal Alignment.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment