commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From brit...@apache.org
Subject [24/50] [lang] restore deprecated annotation of StringUtils#getJaroWinklerDistance
Date Mon, 17 Apr 2017 12:19:47 GMT
restore deprecated annotation of StringUtils#getJaroWinklerDistance

This annotation was with "LANG-1316: Deprecate classes/methods moved to commons-text" and
removed by mistake while reverting "LANG-1269: Wrong name or result of StringUtils#getJaroWinklerDistance".


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

Branch: refs/heads/release
Commit: 811dbe7226ba0ede04c2062c2dba8f72a1c03e58
Parents: f4ee399
Author: pascalschumacher <pascalschumacher@gmx.net>
Authored: Sun Mar 19 14:37:19 2017 +0100
Committer: pascalschumacher <pascalschumacher@gmx.net>
Committed: Sun Mar 19 14:37:19 2017 +0100

----------------------------------------------------------------------
 src/main/java/org/apache/commons/lang3/StringUtils.java | 1 +
 1 file changed, 1 insertion(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/commons-lang/blob/811dbe72/src/main/java/org/apache/commons/lang3/StringUtils.java
----------------------------------------------------------------------
diff --git a/src/main/java/org/apache/commons/lang3/StringUtils.java b/src/main/java/org/apache/commons/lang3/StringUtils.java
index 26aea76..98a2d0c 100644
--- a/src/main/java/org/apache/commons/lang3/StringUtils.java
+++ b/src/main/java/org/apache/commons/lang3/StringUtils.java
@@ -8213,6 +8213,7 @@ public class StringUtils {
      * <a href="https://commons.apache.org/proper/commons-text/javadocs/api-release/org/apache/commons/text/similarity/JaroWinklerDistance.html">
      * JaroWinklerDistance</a> instead
      */
+    @Deprecated
     public static double getJaroWinklerDistance(final CharSequence first, final CharSequence
second) {
         final double DEFAULT_SCALING_FACTOR = 0.1;
 


Mime
View raw message