Skip to content

Commit

Permalink
Simplify Javadoc
Browse files Browse the repository at this point in the history
  • Loading branch information
garydgregory committed Jul 5, 2023
1 parent f0e18ed commit 5478116
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion src/main/java/org/apache/commons/lang3/StringUtils.java
Original file line number Diff line number Diff line change
Expand Up @@ -746,7 +746,7 @@ public static String chomp(final String str) {
* @param str the String to chomp from, may be null
* @param separator separator String, may be null
* @return String without trailing separator, {@code null} if null String input
* @deprecated This feature will be removed in Lang 4.0, use {@link StringUtils#removeEnd(String, String)} instead
* @deprecated This feature will be removed in Lang 4, use {@link StringUtils#removeEnd(String, String)} instead
*/
@Deprecated
public static String chomp(final String str, final String separator) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ public class ExceptionUtils {
/**
* The names of methods commonly used to access a wrapped exception.
*/
// TODO: Remove in Lang 4.0
// TODO: Remove in Lang 4
private static final String[] CAUSE_METHOD_NAMES = {
"getCause",
"getNextException",
Expand Down Expand Up @@ -128,7 +128,7 @@ public static void forEach(final Throwable throwable, final Consumer<Throwable>
* @return the cause of the {@link Throwable},
* {@code null} if none found or null throwable input
* @since 1.0
* @deprecated This feature will be removed in Lang 4.0, use {@link Throwable#getCause} instead
* @deprecated This feature will be removed in Lang 4, use {@link Throwable#getCause} instead
*/
@Deprecated
public static Throwable getCause(final Throwable throwable) {
Expand All @@ -146,7 +146,7 @@ public static Throwable getCause(final Throwable throwable) {
* @return the cause of the {@link Throwable},
* {@code null} if none found or null throwable input
* @since 1.0
* @deprecated This feature will be removed in Lang 4.0, use {@link Throwable#getCause} instead
* @deprecated This feature will be removed in Lang 4, use {@link Throwable#getCause} instead
*/
@Deprecated
public static Throwable getCause(final Throwable throwable, String[] methodNames) {
Expand All @@ -170,7 +170,7 @@ public static Throwable getCause(final Throwable throwable, String[] methodNames
* @param methodName the name of the method to find and invoke
* @return the wrapped exception, or {@code null} if not found
*/
// TODO: Remove in Lang 4.0
// TODO: Remove in Lang 4
private static Throwable getCauseUsingMethodName(final Throwable throwable, final String methodName) {
if (methodName != null) {
Method method = null;
Expand Down Expand Up @@ -198,7 +198,7 @@ private static Throwable getCauseUsingMethodName(final Throwable throwable, fina
*
* @return cloned array of the default method names
* @since 3.0
* @deprecated This feature will be removed in Lang 4.0
* @deprecated This feature will be removed in Lang 4
*/
@Deprecated
public static String[] getDefaultCauseMethodNames() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1589,7 +1589,7 @@ public static boolean isDigits(final String str) {
* @return {@code true} if the string is a correctly formatted number
* @since 3.3 the code supports hex {@code 0Xhhh} an
* octal {@code 0ddd} validation
* @deprecated This feature will be removed in Lang 4.0,
* @deprecated This feature will be removed in Lang 4,
* use {@link NumberUtils#isCreatable(String)} instead
*/
@Deprecated
Expand Down

0 comments on commit 5478116

Please sign in to comment.