diff options
author | Nikolai Fedorovskikh <fenik17@gmail.com> | 2023-01-10 04:30:54 +0400 |
---|---|---|
committer | Bruno P. Kinoshita <kinow@users.noreply.github.com> | 2023-01-10 20:37:23 +0100 |
commit | 7e7954bbea4a7eeec9631d6c6e06ddde00ad749e (patch) | |
tree | 2b2a8a1b6d2e7df355f0a75e5372f6b692a40b82 | |
parent | 6d38ed92903b76f83a8f8d205196b01bb53c55ea (diff) | |
download | apache-commons-lang-7e7954bbea4a7eeec9631d6c6e06ddde00ad749e.tar.gz |
typos in javadoc
-rw-r--r-- | src/main/java/org/apache/commons/lang3/reflect/FieldUtils.java | 2 | ||||
-rw-r--r-- | src/main/java/org/apache/commons/lang3/time/DateUtils.java | 18 |
2 files changed, 10 insertions, 10 deletions
diff --git a/src/main/java/org/apache/commons/lang3/reflect/FieldUtils.java b/src/main/java/org/apache/commons/lang3/reflect/FieldUtils.java index 869c413e7..a2566512a 100644 --- a/src/main/java/org/apache/commons/lang3/reflect/FieldUtils.java +++ b/src/main/java/org/apache/commons/lang3/reflect/FieldUtils.java @@ -204,7 +204,7 @@ public class FieldUtils { * * @param cls * the {@link Class} to query - * @return an array of Fields (possibly empty). + * @return a list of Fields (possibly empty). * @throws IllegalArgumentException * if the class is {@code null} * @since 3.2 diff --git a/src/main/java/org/apache/commons/lang3/time/DateUtils.java b/src/main/java/org/apache/commons/lang3/time/DateUtils.java index a7e0e2f91..383db9841 100644 --- a/src/main/java/org/apache/commons/lang3/time/DateUtils.java +++ b/src/main/java/org/apache/commons/lang3/time/DateUtils.java @@ -1190,7 +1190,7 @@ public class DateUtils { /** * Returns the number of milliseconds within the - * fragment. All datefields greater than the fragment will be ignored. + * fragment. All date fields greater than the fragment will be ignored. * * <p>Asking the milliseconds of any date will only return the number of milliseconds * of the current second (resulting in a number between 0 and 999). This @@ -1225,7 +1225,7 @@ public class DateUtils { /** * Returns the number of seconds within the - * fragment. All datefields greater than the fragment will be ignored. + * fragment. All date fields greater than the fragment will be ignored. * * <p>Asking the seconds of any date will only return the number of seconds * of the current minute (resulting in a number between 0 and 59). This @@ -1263,7 +1263,7 @@ public class DateUtils { /** * Returns the number of minutes within the - * fragment. All datefields greater than the fragment will be ignored. + * fragment. All date fields greater than the fragment will be ignored. * * <p>Asking the minutes of any date will only return the number of minutes * of the current hour (resulting in a number between 0 and 59). This @@ -1301,7 +1301,7 @@ public class DateUtils { /** * Returns the number of hours within the - * fragment. All datefields greater than the fragment will be ignored. + * fragment. All date fields greater than the fragment will be ignored. * * <p>Asking the hours of any date will only return the number of hours * of the current day (resulting in a number between 0 and 23). This @@ -1339,7 +1339,7 @@ public class DateUtils { /** * Returns the number of days within the - * fragment. All datefields greater than the fragment will be ignored. + * fragment. All date fields greater than the fragment will be ignored. * * <p>Asking the days of any date will only return the number of days * of the current month (resulting in a number between 1 and 31). This @@ -1377,7 +1377,7 @@ public class DateUtils { /** * Returns the number of milliseconds within the - * fragment. All datefields greater than the fragment will be ignored. + * fragment. All date fields greater than the fragment will be ignored. * * <p>Asking the milliseconds of any date will only return the number of milliseconds * of the current second (resulting in a number between 0 and 999). This @@ -1414,7 +1414,7 @@ public class DateUtils { } /** * Returns the number of seconds within the - * fragment. All datefields greater than the fragment will be ignored. + * fragment. All date fields greater than the fragment will be ignored. * * <p>Asking the seconds of any date will only return the number of seconds * of the current minute (resulting in a number between 0 and 59). This @@ -1452,7 +1452,7 @@ public class DateUtils { /** * Returns the number of minutes within the - * fragment. All datefields greater than the fragment will be ignored. + * fragment. All date fields greater than the fragment will be ignored. * * <p>Asking the minutes of any date will only return the number of minutes * of the current hour (resulting in a number between 0 and 59). This @@ -1490,7 +1490,7 @@ public class DateUtils { /** * Returns the number of hours within the - * fragment. All datefields greater than the fragment will be ignored. + * fragment. All date fields greater than the fragment will be ignored. * * <p>Asking the hours of any date will only return the number of hours * of the current day (resulting in a number between 0 and 23). This |