You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by gg...@apache.org on 2022/08/21 12:57:37 UTC

[commons-lang] branch master updated: Fix broken javadoc. (#938)

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 598f2fb91 Fix broken javadoc. (#938)
598f2fb91 is described below

commit 598f2fb91594f4a71642632e7f9582afefd62d4d
Author: Arturo Bernal <ar...@gmail.com>
AuthorDate: Sun Aug 21 14:57:32 2022 +0200

    Fix broken javadoc. (#938)
---
 src/main/java/org/apache/commons/lang3/ObjectUtils.java        |  2 +-
 .../java/org/apache/commons/lang3/builder/ToStringStyle.java   | 10 +++++-----
 .../apache/commons/lang3/concurrent/BasicThreadFactory.java    |  2 +-
 src/main/java/org/apache/commons/lang3/math/Fraction.java      |  2 +-
 .../java/org/apache/commons/lang3/time/FastDatePrinter.java    |  2 +-
 5 files changed, 9 insertions(+), 9 deletions(-)

diff --git a/src/main/java/org/apache/commons/lang3/ObjectUtils.java b/src/main/java/org/apache/commons/lang3/ObjectUtils.java
index 849dda761..8f7dfd513 100644
--- a/src/main/java/org/apache/commons/lang3/ObjectUtils.java
+++ b/src/main/java/org/apache/commons/lang3/ObjectUtils.java
@@ -82,7 +82,7 @@ public class ObjectUtils {
         }
 
         /**
-         * <p>Ensure singleton.</p>
+         * <p>Ensure Singleton after serialization.</p>
          *
          * @return the singleton value
          */
diff --git a/src/main/java/org/apache/commons/lang3/builder/ToStringStyle.java b/src/main/java/org/apache/commons/lang3/builder/ToStringStyle.java
index 43fef697f..0e3b6c831 100644
--- a/src/main/java/org/apache/commons/lang3/builder/ToStringStyle.java
+++ b/src/main/java/org/apache/commons/lang3/builder/ToStringStyle.java
@@ -2064,7 +2064,7 @@ public abstract class ToStringStyle implements Serializable {
         }
 
         /**
-         * <p>Ensure {@link Singleton} after serialization.</p>
+         * <p>Ensure Singleton after serialization.</p>
          *
          * @return the singleton
          */
@@ -2095,7 +2095,7 @@ public abstract class ToStringStyle implements Serializable {
         }
 
         /**
-         * <p>Ensure {@link Singleton} after serialization.</p>
+         * <p>Ensure Singleton after serialization.</p>
          *
          * @return the singleton
          */
@@ -2193,7 +2193,7 @@ public abstract class ToStringStyle implements Serializable {
         }
 
         /**
-         * <p>Ensure {@link Singleton} after serialization.</p>
+         * <p>Ensure Singleton after serialization.</p>
          *
          * @return the singleton
          */
@@ -2225,7 +2225,7 @@ public abstract class ToStringStyle implements Serializable {
         }
 
         /**
-         * <p>Ensure {@link Singleton} after serialization.</p>
+         * <p>Ensure Singleton after serialization.</p>
          *
          * @return the singleton
          */
@@ -2557,7 +2557,7 @@ public abstract class ToStringStyle implements Serializable {
 
         /**
          * <p>
-         * Ensure {@link Singleton} after serialization.
+         * Ensure Singleton after serialization.
          * </p>
          *
          * @return the singleton
diff --git a/src/main/java/org/apache/commons/lang3/concurrent/BasicThreadFactory.java b/src/main/java/org/apache/commons/lang3/concurrent/BasicThreadFactory.java
index 6683bb8ca..d4797ecc8 100644
--- a/src/main/java/org/apache/commons/lang3/concurrent/BasicThreadFactory.java
+++ b/src/main/java/org/apache/commons/lang3/concurrent/BasicThreadFactory.java
@@ -110,7 +110,7 @@ public class BasicThreadFactory implements ThreadFactory {
     private final Boolean daemon;
 
     /**
-     * Creates a new instance of {@link ThreadFactoryImpl} and configures it
+     * Creates a new instance of {@link ThreadFactory} and configures it
      * from the specified {@link Builder} object.
      *
      * @param builder the {@link Builder} object
diff --git a/src/main/java/org/apache/commons/lang3/math/Fraction.java b/src/main/java/org/apache/commons/lang3/math/Fraction.java
index 3d265fc44..71dfce41a 100644
--- a/src/main/java/org/apache/commons/lang3/math/Fraction.java
+++ b/src/main/java/org/apache/commons/lang3/math/Fraction.java
@@ -517,7 +517,7 @@ public final class Fraction extends Number implements Comparable<Fraction> {
      * <p>The returned fraction is in reduced form.</p>
      *
      * @param power  the power to raise the fraction to
-     * @return {@code this} if the power is one, {@link ONE} if the power
+     * @return {@code this} if the power is one, {@link #ONE} if the power
      * is zero (even if the fraction equals ZERO) or a new fraction instance
      * raised to the appropriate power
      * @throws ArithmeticException if the resulting numerator or denominator exceeds
diff --git a/src/main/java/org/apache/commons/lang3/time/FastDatePrinter.java b/src/main/java/org/apache/commons/lang3/time/FastDatePrinter.java
index bf270c441..dfd183069 100644
--- a/src/main/java/org/apache/commons/lang3/time/FastDatePrinter.java
+++ b/src/main/java/org/apache/commons/lang3/time/FastDatePrinter.java
@@ -921,7 +921,7 @@ public class FastDatePrinter implements DatePrinter, Serializable {
         private final int mField;
 
         /**
-         * Constructs an instance of {@link UnpadedNumberField} with the specified field.
+         * Constructs an instance of {@link UnpaddedNumberField} with the specified field.
          *
          * @param field the field
          */