Skip to content

Commit 0e1f41b

Browse files
committed
Use preferred spelling for "cannot"
1 parent 72ca4c7 commit 0e1f41b

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

src/main/java/org/apache/commons/beanutils/ConstructorUtils.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ public class ConstructorUtils {
5050
* @param <T> the type of the constructor
5151
* @param klass the class to be constructed
5252
* @param parameterType The constructor parameter type
53-
* @return null if matching accessible constructor can not be found.
53+
* @return null if matching accessible constructor cannot be found.
5454
* @see Class#getConstructor
5555
* @see #getAccessibleConstructor(java.lang.reflect.Constructor)
5656
*/
@@ -67,7 +67,7 @@ public static <T> Constructor<T> getAccessibleConstructor(
6767
* @param <T> the type to be constructed
6868
* @param klass the class to be constructed
6969
* @param parameterTypes the parameter array
70-
* @return null if matching accessible constructor can not be found
70+
* @return null if matching accessible constructor cannot be found
7171
* @see Class#getConstructor
7272
* @see #getAccessibleConstructor(java.lang.reflect.Constructor)
7373
*/
@@ -87,7 +87,7 @@ public static <T> Constructor<T> getAccessibleConstructor(
8787
* Returns accessible version of the given constructor.
8888
* @param <T> the type of the constructor
8989
* @param ctor prototype constructor object.
90-
* @return <code>null</code> if accessible constructor can not be found.
90+
* @return <code>null</code> if accessible constructor cannot be found.
9191
* @see java.lang.SecurityManager
9292
*/
9393
public static <T> Constructor<T> getAccessibleConstructor(final Constructor<T> ctor) {

src/main/java/org/apache/commons/beanutils/locale/converters/FloatLocaleConverter.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -202,7 +202,7 @@ public FloatLocaleConverter(final Object defaultValue, final Locale locale, fina
202202
/**
203203
* Convert the specified locale-sensitive input object into an output object of the
204204
* specified type. This method will return Float value or throw exception if value
205-
* can not be stored in the Float.
205+
* cannot be stored in the Float.
206206
*
207207
* @param value The input object to be converted
208208
* @param pattern The pattern is used for the convertion

0 commit comments

Comments
 (0)