Skip to content

Commit

Permalink
Use preferred spelling for "cannot"
Browse files Browse the repository at this point in the history
  • Loading branch information
garydgregory committed Nov 4, 2024
1 parent 72ca4c7 commit 0e1f41b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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)
*/
Expand All @@ -67,7 +67,7 @@ public static <T> Constructor<T> getAccessibleConstructor(
* @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)
*/
Expand All @@ -87,7 +87,7 @@ public static <T> Constructor<T> getAccessibleConstructor(
* 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) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,7 @@ public FloatLocaleConverter(final Object defaultValue, final Locale locale, fina
/**
* 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
Expand Down

0 comments on commit 0e1f41b

Please sign in to comment.