aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGary Gregory <garydgregory@gmail.com>2023-01-10 15:57:24 -0500
committerGary Gregory <garydgregory@gmail.com>2023-01-10 15:57:24 -0500
commit73a99e2beabdb087bd60262a20e0315f5ff02046 (patch)
treeb014c24b6333969ca81df6d083390d0c5da6b5aa
parentaf27d810d3c045c0bfe901680d03bdde5f99251d (diff)
parent7e7954bbea4a7eeec9631d6c6e06ddde00ad749e (diff)
downloadapache-commons-lang-73a99e2beabdb087bd60262a20e0315f5ff02046.tar.gz
Merge branch 'master' of https://gitbox.apache.org/repos/asf/commons-lang.git
-rw-r--r--src/main/java/org/apache/commons/lang3/reflect/FieldUtils.java2
-rw-r--r--src/main/java/org/apache/commons/lang3/time/DateUtils.java18
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