Spell as 'writable'.
diff --git a/src/main/java/org/apache/commons/beanutils2/LazyDynaClass.java b/src/main/java/org/apache/commons/beanutils2/LazyDynaClass.java
index 8f5c64b..105bdaf 100644
--- a/src/main/java/org/apache/commons/beanutils2/LazyDynaClass.java
+++ b/src/main/java/org/apache/commons/beanutils2/LazyDynaClass.java
@@ -194,7 +194,7 @@
* <p>Add a new dynamic property with the specified data type, readability,
* and writeability.</p>
*
- * <p><strong>N.B.</strong>Support for readable/writeable properties has not been implemented
+ * <p><strong>N.B.</strong>Support for readable/writable properties has not been implemented
* and this method always throws a {@code UnsupportedOperationException}.</p>
*
* <p>I'm not sure the intention of the original authors for this method, but it seems to
@@ -206,13 +206,13 @@
* restrictions)
* @param readable Set to {@code true} if this property value
* should be readable
- * @param writeable Set to {@code true} if this property value
- * should be writeable
+ * @param writable Set to {@code true} if this property value
+ * should be writable
*
* @throws UnsupportedOperationException anytime this method is called
*/
@Override
- public void add(final String name, final Class<?> type, final boolean readable, final boolean writeable) {
+ public void add(final String name, final Class<?> type, final boolean readable, final boolean writable) {
throw new java.lang.UnsupportedOperationException("readable/writable properties not supported");
}
diff --git a/src/main/java/org/apache/commons/beanutils2/LazyDynaMap.java b/src/main/java/org/apache/commons/beanutils2/LazyDynaMap.java
index 078407e..a5ad3dd 100644
--- a/src/main/java/org/apache/commons/beanutils2/LazyDynaMap.java
+++ b/src/main/java/org/apache/commons/beanutils2/LazyDynaMap.java
@@ -370,7 +370,7 @@
* <p>Add a new dynamic property with the specified data type, readability,
* and writeability.</p>
*
- * <p><strong>N.B.</strong>Support for readable/writeable properties has not been implemented
+ * <p><strong>N.B.</strong>Support for readable/writable properties has not been implemented
* and this method always throws a {@code UnsupportedOperationException}.</p>
*
* <p>I'm not sure the intention of the original authors for this method, but it seems to
@@ -382,13 +382,13 @@
* restrictions)
* @param readable Set to {@code true} if this property value
* should be readable
- * @param writeable Set to {@code true} if this property value
- * should be writeable
+ * @param writable Set to {@code true} if this property value
+ * should be writable
*
* @throws UnsupportedOperationException anytime this method is called
*/
@Override
- public void add(final String name, final Class<?> type, final boolean readable, final boolean writeable) {
+ public void add(final String name, final Class<?> type, final boolean readable, final boolean writable) {
throw new java.lang.UnsupportedOperationException("readable/writable properties not supported");
}
diff --git a/src/main/java/org/apache/commons/beanutils2/MutableDynaClass.java b/src/main/java/org/apache/commons/beanutils2/MutableDynaClass.java
index c2108c7..241d725 100644
--- a/src/main/java/org/apache/commons/beanutils2/MutableDynaClass.java
+++ b/src/main/java/org/apache/commons/beanutils2/MutableDynaClass.java
@@ -64,15 +64,15 @@
* restrictions)
* @param readable Set to {@code true} if this property value
* should be readable
- * @param writeable Set to {@code true} if this property value
- * should be writeable
+ * @param writable Set to {@code true} if this property value
+ * should be writable
*
* @throws IllegalArgumentException if name is null
* @throws IllegalStateException if this DynaClass is currently
* restricted, so no new properties can be added
*/
void add(String name, Class<?> type, boolean readable,
- boolean writeable);
+ boolean writable);
/**
* Is this DynaClass currently restricted, if so, no changes to the
diff --git a/src/main/java/org/apache/commons/beanutils2/PropertyUtils.java b/src/main/java/org/apache/commons/beanutils2/PropertyUtils.java
index a64f44e..16ccf52 100644
--- a/src/main/java/org/apache/commons/beanutils2/PropertyUtils.java
+++ b/src/main/java/org/apache/commons/beanutils2/PropertyUtils.java
@@ -568,14 +568,14 @@
/**
* <p>Return {@code true} if the specified property name identifies
- * a writeable property on the specified bean; otherwise, return
+ * a writable property on the specified bean; otherwise, return
* {@code false}.</p>
*
* <p>For more details see {@code PropertyUtilsBean}.</p>
*
* @param bean Bean to be examined (may be a {@link DynaBean}
* @param name Property name to be evaluated
- * @return {@code true} if the property is writeable,
+ * @return {@code true} if the property is writable,
* otherwise {@code false}
*
* @throws IllegalArgumentException if {@code bean}
diff --git a/src/main/java/org/apache/commons/beanutils2/PropertyUtilsBean.java b/src/main/java/org/apache/commons/beanutils2/PropertyUtilsBean.java
index 4628ffb..cfedff4 100644
--- a/src/main/java/org/apache/commons/beanutils2/PropertyUtilsBean.java
+++ b/src/main/java/org/apache/commons/beanutils2/PropertyUtilsBean.java
@@ -1361,12 +1361,12 @@
/**
* <p>Return {@code true} if the specified property name identifies
- * a writeable property on the specified bean; otherwise, return
+ * a writable property on the specified bean; otherwise, return
* {@code false}.
*
* @param bean Bean to be examined (may be a {@link DynaBean}
* @param name Property name to be evaluated
- * @return {@code true} if the property is writeable,
+ * @return {@code true} if the property is writable,
* otherwise {@code false}
*
* @throws IllegalArgumentException if {@code bean}
@@ -1414,7 +1414,7 @@
// Return the requested result
if (bean instanceof DynaBean) {
- // All DynaBean properties are writeable
+ // All DynaBean properties are writable
return ((DynaBean) bean).getDynaClass().getDynaProperty(name) != null;
}
try {