From 4c2224dd1b750efc8e890d7f6e4c8a237d570309 Mon Sep 17 00:00:00 2001
From: Gary Gregory It is consistent with {@code equals(Object)} and
* {@code hashCode()} built with {@link EqualsBuilder} and
diff --git a/src/main/java/org/apache/commons/lang3/builder/package-info.java b/src/main/java/org/apache/commons/lang3/builder/package-info.java
index b8163b59b..910d72266 100644
--- a/src/main/java/org/apache/commons/lang3/builder/package-info.java
+++ b/src/main/java/org/apache/commons/lang3/builder/package-info.java
@@ -18,7 +18,7 @@
* Assists in creating consistent {@code equals(Object)}, {@code toString()}, {@code hashCode()}, and {@code compareTo(Object)} methods.
* These classes are not thread-safe.
*
- * When you write a {@link java.lang.Object#hashCode() hashCode()}, do you check Bloch's Effective Java? No?
+ * When you write a {@link Object#hashCode() hashCode()}, do you check Bloch's Effective Java? No?
* You just hack in a quick number?
* Well {@link org.apache.commons.lang3.builder.HashCodeBuilder} will save your day.
* It, and its buddies ({@link org.apache.commons.lang3.builder.EqualsBuilder}, {@link org.apache.commons.lang3.builder.CompareToBuilder}, {@link org.apache.commons.lang3.builder.ToStringBuilder}), take care of the nasty bits while you focus on the important bits, like which fields will go into making up the hash code.
* Contains failable functional interfaces that address the fact that lambdas are supposed not to throw Exceptions, at
- * least not checked Exceptions, A.K.A. instances of {@link java.lang.Exception}. A failable functional interface
+ * least not checked Exceptions, A.K.A. instances of {@link Exception}. A failable functional interface
* declares a type of Exception that may be raised if the function fails.
*
diff --git a/src/main/java/org/apache/commons/lang3/builder/CompareToBuilder.java b/src/main/java/org/apache/commons/lang3/builder/CompareToBuilder.java
index 3d411bb15..2c241c5e1 100644
--- a/src/main/java/org/apache/commons/lang3/builder/CompareToBuilder.java
+++ b/src/main/java/org/apache/commons/lang3/builder/CompareToBuilder.java
@@ -27,7 +27,7 @@ import org.apache.commons.lang3.ArrayUtils;
import org.apache.commons.lang3.ObjectUtils;
/**
- * Assists in implementing {@link java.lang.Comparable#compareTo(Object)} methods.
+ * Assists in implementing {@link Comparable#compareTo(Object)} methods.
*
*
There are two aspects of this package that should be highlighted. - * The first is {@link org.apache.commons.lang3.math.NumberUtils#createNumber(String)}, a method which does its best to convert a String into a {@link java.lang.Number} object. + * The first is {@link org.apache.commons.lang3.math.NumberUtils#createNumber(String)}, a method which does its best to convert a String into a {@link Number} object. * You have no idea what type of Number it will return, so you should call the relevant {@code xxxValue} method when you reach the point of needing a number. * NumberUtils also has a related {@link org.apache.commons.lang3.math.NumberUtils#isCreatable(String)} method.
* diff --git a/src/main/java/org/apache/commons/lang3/package-info.java b/src/main/java/org/apache/commons/lang3/package-info.java index aca4f141c..7d880e1b5 100644 --- a/src/main/java/org/apache/commons/lang3/package-info.java +++ b/src/main/java/org/apache/commons/lang3/package-info.java @@ -38,7 +38,7 @@ *Lang has a series of String utilities. - * The first is {@link org.apache.commons.lang3.StringUtils}, oodles and oodles of functions which tweak, transform, squeeze and cuddle {@link java.lang.String java.lang.Strings}. + * The first is {@link org.apache.commons.lang3.StringUtils}, oodles and oodles of functions which tweak, transform, squeeze and cuddle {@link String java.lang.Strings}. * In addition to StringUtils, there are a series of other String manipulating classes; {@link org.apache.commons.lang3.RandomStringUtils} and {@link org.apache.commons.lang3.StringEscapeUtils StringEscapeUtils}. * RandomStringUtils speaks for itself. * It's provides ways in which to generate pieces of text, such as might be used for default passwords. @@ -72,7 +72,7 @@ * *
Would you believe it, {@link org.apache.commons.lang3.ObjectUtils} contains handy functions for Objects, mainly null-safe implementations of the methods on {@link java.lang.Object}.
+ *Would you believe it, {@link org.apache.commons.lang3.ObjectUtils} contains handy functions for Objects, mainly null-safe implementations of the methods on {@link Object}.
* *{@link org.apache.commons.lang3.ClassUtils} is largely a set of helper methods for reflection. * Of special note are the comparators hidden away in ClassUtils, useful for sorting Class and Package objects by name; however they merely sort alphabetically and don't understand the common habit of sorting {@code java} and {@code javax} first.
diff --git a/src/main/java/org/apache/commons/lang3/reflect/TypeUtils.java b/src/main/java/org/apache/commons/lang3/reflect/TypeUtils.java index f959d7a99..264c7dea5 100644 --- a/src/main/java/org/apache/commons/lang3/reflect/TypeUtils.java +++ b/src/main/java/org/apache/commons/lang3/reflect/TypeUtils.java @@ -946,7 +946,7 @@ public class TypeUtils { * {@link java.util.Hashtable Hashtable} are also both {@link Object}. * In cases where the interface specified by {@code toClass} is * (indirectly) implemented more than once (e.g. where {@code toClass} - * specifies the interface {@link java.lang.Iterable Iterable} and + * specifies the interface {@link Iterable Iterable} and * {@code type} specifies a parameterized type that implements both * {@link java.util.Set Set} and {@link java.util.Collection Collection}), * this method will look at the inheritance hierarchy of only one of the diff --git a/src/main/java/org/apache/commons/lang3/text/package-info.java b/src/main/java/org/apache/commons/lang3/text/package-info.java index f82474314..f0dbe25e7 100644 --- a/src/main/java/org/apache/commons/lang3/text/package-info.java +++ b/src/main/java/org/apache/commons/lang3/text/package-info.java @@ -20,7 +20,7 @@ * intended to be instantiated (i.e. they are not utility classes with lots of static methods). * *- * Amongst other classes, the text package provides a replacement for {@link java.lang.StringBuffer} named {@link org.apache.commons.lang3.text.StrBuilder}, a + * Amongst other classes, the text package provides a replacement for {@link StringBuffer} named {@link org.apache.commons.lang3.text.StrBuilder}, a * class for substituting variables within a String named {@link org.apache.commons.lang3.text.StrSubstitutor} and a replacement for * {@link java.util.StringTokenizer} named {@link org.apache.commons.lang3.text.StrTokenizer}. While somewhat ungainly, the {@code Str} prefix has been used to * ensure we don't clash with any current or future standard Java classes.