You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by ki...@apache.org on 2023/01/10 19:37:31 UTC
[commons-lang] branch master updated: typos in javadoc
This is an automated email from the ASF dual-hosted git repository.
kinow pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-lang.git
The following commit(s) were added to refs/heads/master by this push:
new 7e7954bbe typos in javadoc
7e7954bbe is described below
commit 7e7954bbea4a7eeec9631d6c6e06ddde00ad749e
Author: Nikolai Fedorovskikh <fe...@gmail.com>
AuthorDate: Tue Jan 10 04:30:54 2023 +0400
typos in javadoc
---
.../org/apache/commons/lang3/reflect/FieldUtils.java | 2 +-
.../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