Skip to content

Commit

Permalink
Normalize spelling
Browse files Browse the repository at this point in the history
  • Loading branch information
garydgregory committed Jan 27, 2025
1 parent 0b6214c commit 553ba3f
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion src/changes/changes.xml
Original file line number Diff line number Diff line change
Expand Up @@ -434,7 +434,7 @@ src/test/java/org/apache/commons/beanutils/bugs/Jira520TestCase.java.">
Create new methods getPropertyOfMapBean and setPropertyOfMapBean that the existing
setNestedProperty and getNestedProperty methods now call when they discover the bean
they are accessing implements Map. This makes it much easier for users to subclass
and customise this behaviour of PropertyUtilsBean, eg in order to restore pre-1.5 behaviour.
and customize this behaviour of PropertyUtilsBean, eg in order to restore pre-1.5 behaviour.
This patch also causes an exception to be thrown when the propertyName passed to
getPropertyOfMapBean or setPropertyOfMapBean has MAPPED_DELIM or INDEXED_DELIM chars in
it. This never worked as expected before (the whole string was treated literally as the
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1828,7 +1828,7 @@ public void setProperty(final Object bean, final String name, final Object value
* 1.6.0, 1.6.1, 1.7.0 was for "a.b" to mean a.setB(obj) if such a method existed, and a.put(b, obj) otherwise. In version 1.5 it meant a.put(b, obj) always
* (ie the same as the behaviour in the current version). In versions prior to 1.5 it meant a.setB(obj) always. [yes, this is all <em>very</em> unfortunate]
* <p>
* Users who would like to customise the meaning of "a.b" in method setNestedProperty when a is a Map can create a custom subclass of this class and
* Users who would like to customize the meaning of "a.b" in method setNestedProperty when a is a Map can create a custom subclass of this class and
* override this method to implement the behaviour of their choice, such as restoring the pre-1.4 behaviour of this class if they wish. When overriding this
* method, do not forget to deal with MAPPED_DELIM and INDEXED_DELIM characters in the propertyName.
* <p>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
* on how this instance is constructed.</p>
*
* <p>By default, the values to be converted are expected to be those
* recognized by a default instance of BooleanConverter. A customised
* recognized by a default instance of BooleanConverter. A customized
* BooleanConverter can be provided in order to recognise alternative values
* as true/false. </p>
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
import java.util.Map;

/**
* A PropertyUtilsBean which customises the behaviour of the
* A PropertyUtilsBean which customizes the behaviour of the
* setNestedProperty and getNestedProperty methods to look for
* simple properties in preference to map entries.
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ public BooleanArrayConverterTestCase(final String name) {

/**
* Check that the user can specify non-standard true/false values by
* providing a customised BooleanConverter.
* providing a customized BooleanConverter.
*/
public void testAdditionalStrings() {
final String[] trueStrings = {"sure"};
Expand Down

0 comments on commit 553ba3f

Please sign in to comment.