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 2023/07/05 11:58:07 UTC
[commons-lang] branch master updated: Simplify Javadoc
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 5478116bc Simplify Javadoc
5478116bc is described below
commit 5478116bc1eda71e7c62faabe64bb401fd8d295d
Author: Gary Gregory <ga...@gmail.com>
AuthorDate: Wed Jul 5 07:58:01 2023 -0400
Simplify Javadoc
---
src/main/java/org/apache/commons/lang3/StringUtils.java | 2 +-
.../org/apache/commons/lang3/exception/ExceptionUtils.java | 10 +++++-----
src/main/java/org/apache/commons/lang3/math/NumberUtils.java | 2 +-
3 files changed, 7 insertions(+), 7 deletions(-)
diff --git a/src/main/java/org/apache/commons/lang3/StringUtils.java b/src/main/java/org/apache/commons/lang3/StringUtils.java
index 4761be041..fa92e285d 100644
--- a/src/main/java/org/apache/commons/lang3/StringUtils.java
+++ b/src/main/java/org/apache/commons/lang3/StringUtils.java
@@ -746,7 +746,7 @@ public class StringUtils {
* @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) {
diff --git a/src/main/java/org/apache/commons/lang3/exception/ExceptionUtils.java b/src/main/java/org/apache/commons/lang3/exception/ExceptionUtils.java
index d1460b81f..220207069 100644
--- a/src/main/java/org/apache/commons/lang3/exception/ExceptionUtils.java
+++ b/src/main/java/org/apache/commons/lang3/exception/ExceptionUtils.java
@@ -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",
@@ -128,7 +128,7 @@ public class ExceptionUtils {
* @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) {
@@ -146,7 +146,7 @@ public class ExceptionUtils {
* @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) {
@@ -170,7 +170,7 @@ public class ExceptionUtils {
* @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;
@@ -198,7 +198,7 @@ public class ExceptionUtils {
*
* @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() {
diff --git a/src/main/java/org/apache/commons/lang3/math/NumberUtils.java b/src/main/java/org/apache/commons/lang3/math/NumberUtils.java
index edb1df729..1059b4cd1 100644
--- a/src/main/java/org/apache/commons/lang3/math/NumberUtils.java
+++ b/src/main/java/org/apache/commons/lang3/math/NumberUtils.java
@@ -1589,7 +1589,7 @@ public class NumberUtils {
* @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