This is an automated email from the ASF dual-hosted git repository.

ggregory 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 35350e3ee Use Javadoc code tag
35350e3ee is described below

commit 35350e3eeace8ea271b0b9cfbada283ea2a973c4
Author: Gary Gregory <garydgreg...@gmail.com>
AuthorDate: Sun Jun 9 13:38:33 2024 -0400

    Use Javadoc code tag
---
 src/main/java/org/apache/commons/lang3/ArrayUtils.java       | 12 ++++++------
 .../java/org/apache/commons/lang3/time/CalendarUtils.java    |  2 +-
 2 files changed, 7 insertions(+), 7 deletions(-)

diff --git a/src/main/java/org/apache/commons/lang3/ArrayUtils.java 
b/src/main/java/org/apache/commons/lang3/ArrayUtils.java
index c3aec86b4..08a34835a 100644
--- a/src/main/java/org/apache/commons/lang3/ArrayUtils.java
+++ b/src/main/java/org/apache/commons/lang3/ArrayUtils.java
@@ -1382,9 +1382,9 @@ public class ArrayUtils {
      * @param allocator allocates the array to populate and return.
      * @return dest
      * @throws IndexOutOfBoundsException if copying would cause access of data 
outside array bounds.
-     * @throws ArrayStoreException       if an element in the <code>src</code> 
array could not be stored into the <code>dest</code> array because of a type
+     * @throws ArrayStoreException       if an element in the {@code src} 
array could not be stored into the {@code dest} array because of a type
      *                                   mismatch.
-     * @throws NullPointerException      if either <code>src</code> or 
<code>dest</code> is <code>null</code>.
+     * @throws NullPointerException      if either {@code src} or {@code dest} 
is {@code null}.
      * @since 3.15.0
      */
     public static <T> T arraycopy(final T source, final int sourcePos, final 
int destPos, final int length, final Function<Integer, T> allocator) {
@@ -1402,9 +1402,9 @@ public class ArrayUtils {
      * @param allocator allocates the array to populate and return.
      * @return dest
      * @throws IndexOutOfBoundsException if copying would cause access of data 
outside array bounds.
-     * @throws ArrayStoreException       if an element in the <code>src</code> 
array could not be stored into the <code>dest</code> array because of a type
+     * @throws ArrayStoreException       if an element in the {@code src} 
array could not be stored into the {@code dest} array because of a type
      *                                   mismatch.
-     * @throws NullPointerException      if either <code>src</code> or 
<code>dest</code> is <code>null</code>.
+     * @throws NullPointerException      if either {@code src} or {@code dest} 
is {@code null}.
      * @since 3.15.0
      */
     public static <T> T arraycopy(final T source, final int sourcePos, final 
int destPos, final int length, final Supplier<T> allocator) {
@@ -1422,9 +1422,9 @@ public class ArrayUtils {
      * @param length    the number of array elements to be copied.
      * @return dest
      * @throws IndexOutOfBoundsException if copying would cause access of data 
outside array bounds.
-     * @throws ArrayStoreException       if an element in the <code>src</code> 
array could not be stored into the <code>dest</code> array because of a type
+     * @throws ArrayStoreException       if an element in the {@code src} 
array could not be stored into the {@code dest} array because of a type
      *                                   mismatch.
-     * @throws NullPointerException      if either <code>src</code> or 
<code>dest</code> is <code>null</code>.
+     * @throws NullPointerException      if either {@code src} or {@code dest} 
is {@code null}.
      * @since 3.15.0
      */
     public static <T> T arraycopy(final T source, final int sourcePos, final T 
dest, final int destPos, final int length) {
diff --git a/src/main/java/org/apache/commons/lang3/time/CalendarUtils.java 
b/src/main/java/org/apache/commons/lang3/time/CalendarUtils.java
index ec5445229..0f7906df4 100644
--- a/src/main/java/org/apache/commons/lang3/time/CalendarUtils.java
+++ b/src/main/java/org/apache/commons/lang3/time/CalendarUtils.java
@@ -49,7 +49,7 @@ public class CalendarUtils {
     }
 
     /**
-     * Gets a CalendarUtils using the default time zone and specified locale. 
The <code>CalendarUtils</code> returned is based on the current time in the
+     * Gets a CalendarUtils using the default time zone and specified locale. 
The {@code CalendarUtils} returned is based on the current time in the
      * default time zone with the given locale.
      *
      * @param locale the locale for the week data

Reply via email to