You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by gg...@apache.org on 2024/11/04 22:59:24 UTC
(commons-beanutils) branch 1.X updated: Use preferred spelling for "cannot"
This is an automated email from the ASF dual-hosted git repository.
ggregory pushed a commit to branch 1.X
in repository https://gitbox.apache.org/repos/asf/commons-beanutils.git
The following commit(s) were added to refs/heads/1.X by this push:
new 0e1f41bb Use preferred spelling for "cannot"
0e1f41bb is described below
commit 0e1f41bbcae8ffd9b72ee6f237cf214569fd71a4
Author: Gary Gregory <ga...@gmail.com>
AuthorDate: Mon Nov 4 17:59:19 2024 -0500
Use preferred spelling for "cannot"
---
src/main/java/org/apache/commons/beanutils/ConstructorUtils.java | 6 +++---
.../commons/beanutils/locale/converters/FloatLocaleConverter.java | 2 +-
2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/main/java/org/apache/commons/beanutils/ConstructorUtils.java b/src/main/java/org/apache/commons/beanutils/ConstructorUtils.java
index 5893687e..7c6ea124 100644
--- a/src/main/java/org/apache/commons/beanutils/ConstructorUtils.java
+++ b/src/main/java/org/apache/commons/beanutils/ConstructorUtils.java
@@ -50,7 +50,7 @@ public class ConstructorUtils {
* @param <T> the type of the constructor
* @param klass the class to be constructed
* @param parameterType The constructor parameter type
- * @return null if matching accessible constructor can not be found.
+ * @return null if matching accessible constructor cannot be found.
* @see Class#getConstructor
* @see #getAccessibleConstructor(java.lang.reflect.Constructor)
*/
@@ -67,7 +67,7 @@ public class ConstructorUtils {
* @param <T> the type to be constructed
* @param klass the class to be constructed
* @param parameterTypes the parameter array
- * @return null if matching accessible constructor can not be found
+ * @return null if matching accessible constructor cannot be found
* @see Class#getConstructor
* @see #getAccessibleConstructor(java.lang.reflect.Constructor)
*/
@@ -87,7 +87,7 @@ public class ConstructorUtils {
* Returns accessible version of the given constructor.
* @param <T> the type of the constructor
* @param ctor prototype constructor object.
- * @return <code>null</code> if accessible constructor can not be found.
+ * @return <code>null</code> if accessible constructor cannot be found.
* @see java.lang.SecurityManager
*/
public static <T> Constructor<T> getAccessibleConstructor(final Constructor<T> ctor) {
diff --git a/src/main/java/org/apache/commons/beanutils/locale/converters/FloatLocaleConverter.java b/src/main/java/org/apache/commons/beanutils/locale/converters/FloatLocaleConverter.java
index 067bb091..b35fa41d 100644
--- a/src/main/java/org/apache/commons/beanutils/locale/converters/FloatLocaleConverter.java
+++ b/src/main/java/org/apache/commons/beanutils/locale/converters/FloatLocaleConverter.java
@@ -202,7 +202,7 @@ public class FloatLocaleConverter extends DecimalLocaleConverter {
/**
* Convert the specified locale-sensitive input object into an output object of the
* specified type. This method will return Float value or throw exception if value
- * can not be stored in the Float.
+ * cannot be stored in the Float.
*
* @param value The input object to be converted
* @param pattern The pattern is used for the convertion