You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by pa...@apache.org on 2018/02/14 20:15:14 UTC

[text] Add deprecation version to classes with will be deprecated in 1.3.

Repository: commons-text
Updated Branches:
  refs/heads/master 6e9107dc8 -> ddb47903d


Add deprecation version to classes with will be deprecated in 1.3.


Project: http://git-wip-us.apache.org/repos/asf/commons-text/repo
Commit: http://git-wip-us.apache.org/repos/asf/commons-text/commit/ddb47903
Tree: http://git-wip-us.apache.org/repos/asf/commons-text/tree/ddb47903
Diff: http://git-wip-us.apache.org/repos/asf/commons-text/diff/ddb47903

Branch: refs/heads/master
Commit: ddb47903dcab034e7dd33eadfe2658eb3aad0739
Parents: 6e9107d
Author: Pascal Schumacher <pa...@gmx.net>
Authored: Wed Feb 14 21:15:05 2018 +0100
Committer: Pascal Schumacher <pa...@gmx.net>
Committed: Wed Feb 14 21:15:05 2018 +0100

----------------------------------------------------------------------
 src/main/java/org/apache/commons/text/StrBuilder.java     | 2 +-
 src/main/java/org/apache/commons/text/StrLookup.java      | 2 +-
 src/main/java/org/apache/commons/text/StrMatcher.java     | 2 +-
 src/main/java/org/apache/commons/text/StrSubstitutor.java | 2 +-
 src/main/java/org/apache/commons/text/StrTokenizer.java   | 2 +-
 5 files changed, 5 insertions(+), 5 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/commons-text/blob/ddb47903/src/main/java/org/apache/commons/text/StrBuilder.java
----------------------------------------------------------------------
diff --git a/src/main/java/org/apache/commons/text/StrBuilder.java b/src/main/java/org/apache/commons/text/StrBuilder.java
index 8fde14e..9df3061 100644
--- a/src/main/java/org/apache/commons/text/StrBuilder.java
+++ b/src/main/java/org/apache/commons/text/StrBuilder.java
@@ -65,7 +65,7 @@ import java.util.Objects;
  * </p>
  *
  * @since 1.0
- * @deprecated Use {@link TextStringBuilder}. This class will be removed in 2.0.
+ * @deprecated Deprecated as of 1.3, use {@link TextStringBuilder} instead. This class will be removed in 2.0.
  */
 @Deprecated
 public class StrBuilder implements CharSequence, Appendable, Serializable, Builder<String> {

http://git-wip-us.apache.org/repos/asf/commons-text/blob/ddb47903/src/main/java/org/apache/commons/text/StrLookup.java
----------------------------------------------------------------------
diff --git a/src/main/java/org/apache/commons/text/StrLookup.java b/src/main/java/org/apache/commons/text/StrLookup.java
index 6357869..8d3811a 100644
--- a/src/main/java/org/apache/commons/text/StrLookup.java
+++ b/src/main/java/org/apache/commons/text/StrLookup.java
@@ -36,7 +36,7 @@ import org.apache.commons.text.lookup.StringLookupFactory;
  *
  * @param <V> the type of the values supported by the lookup
  * @since 1.0
- * @deprecated Use {@link StringLookupFactory}. This class will be removed in 2.0.
+ * @deprecated Deprecated as of 1.3, use {@link StringLookupFactory} instead. This class will be removed in 2.0.
  */
 @Deprecated
 public abstract class StrLookup<V> implements StringLookup {

http://git-wip-us.apache.org/repos/asf/commons-text/blob/ddb47903/src/main/java/org/apache/commons/text/StrMatcher.java
----------------------------------------------------------------------
diff --git a/src/main/java/org/apache/commons/text/StrMatcher.java b/src/main/java/org/apache/commons/text/StrMatcher.java
index 466eab4..958dd8c 100644
--- a/src/main/java/org/apache/commons/text/StrMatcher.java
+++ b/src/main/java/org/apache/commons/text/StrMatcher.java
@@ -28,7 +28,7 @@ import org.apache.commons.text.matcher.StringMatcherFactory;
  * If these do not suffice, you can subclass and implement your own matcher.
  *
  * @since 1.0
- * @deprecated Use {@link StringMatcherFactory}. This class will be removed in 2.0.
+ * @deprecated Deprecated as of 1.3, use {@link StringMatcherFactory} instead. This class will be removed in 2.0.
  */
 @Deprecated
 public abstract class StrMatcher {

http://git-wip-us.apache.org/repos/asf/commons-text/blob/ddb47903/src/main/java/org/apache/commons/text/StrSubstitutor.java
----------------------------------------------------------------------
diff --git a/src/main/java/org/apache/commons/text/StrSubstitutor.java b/src/main/java/org/apache/commons/text/StrSubstitutor.java
index 44adbd9..d285991 100644
--- a/src/main/java/org/apache/commons/text/StrSubstitutor.java
+++ b/src/main/java/org/apache/commons/text/StrSubstitutor.java
@@ -121,7 +121,7 @@ import org.apache.commons.lang3.Validate;
  * <p>This class is <b>not</b> thread safe.</p>
  *
  * @since 1.0
- * @deprecated Use {@link StringSubstitutor}. This class will be removed in 2.0.
+ * @deprecated Deprecated as of 1.3, use {@link StringSubstitutor} instead. This class will be removed in 2.0.
  */
 @Deprecated
 public class StrSubstitutor {

http://git-wip-us.apache.org/repos/asf/commons-text/blob/ddb47903/src/main/java/org/apache/commons/text/StrTokenizer.java
----------------------------------------------------------------------
diff --git a/src/main/java/org/apache/commons/text/StrTokenizer.java b/src/main/java/org/apache/commons/text/StrTokenizer.java
index 3ae662d..ea947f0 100644
--- a/src/main/java/org/apache/commons/text/StrTokenizer.java
+++ b/src/main/java/org/apache/commons/text/StrTokenizer.java
@@ -80,7 +80,7 @@ import java.util.NoSuchElementException;
  * </table>
  *
  * @since 1.0
- * @deprecated Use {@link StringTokenizer}. This class will be removed in 2.0.
+ * @deprecated Deprecated as of 1.3, use {@link StringTokenizer} instead. This class will be removed in 2.0.
  */
 @Deprecated
 public class StrTokenizer implements ListIterator<String>, Cloneable {