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 2024/01/25 14:56:44 UTC
(commons-lang) 16/41: Depreacte RegExUtils 0-argument contructor
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
commit ed5e047034791541e8245d7e62aeadcee486f90d
Author: Gary Gregory <ga...@gmail.com>
AuthorDate: Thu Jan 25 09:21:52 2024 -0500
Depreacte RegExUtils 0-argument contructor
---
src/main/java/org/apache/commons/lang3/RegExUtils.java | 9 +++++++++
1 file changed, 9 insertions(+)
diff --git a/src/main/java/org/apache/commons/lang3/RegExUtils.java b/src/main/java/org/apache/commons/lang3/RegExUtils.java
index 2c03a4d7e..c5e418a85 100644
--- a/src/main/java/org/apache/commons/lang3/RegExUtils.java
+++ b/src/main/java/org/apache/commons/lang3/RegExUtils.java
@@ -480,4 +480,13 @@ public class RegExUtils {
return dotAllMatcher(regex, text).replaceAll(replacement);
}
+ /**
+ * Make private in 4.0.
+ *
+ * @deprecated TODO Make private in 4.0.
+ */
+ @Deprecated
+ public RegExUtils() {
+ // empty
+ }
}