From 7e7954bbea4a7eeec9631d6c6e06ddde00ad749e Mon Sep 17 00:00:00 2001 From: Nikolai Fedorovskikh Date: Tue, 10 Jan 2023 04:30:54 +0400 Subject: [PATCH] typos in javadoc --- .../commons/lang3/reflect/FieldUtils.java | 2 +- .../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. * *

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. * *

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. * *

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. * *

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. * *

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. * *

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. * *

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. * *

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. * *

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