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-codec.git
commit 801afd9731ee93cd265089ced09b916713aa761f Author: Gary D. Gregory <[email protected]> AuthorDate: Sun Jul 6 14:35:43 2025 -0400 eprecate unused constant org.apache.commons.codec.language.bm.Rule.ALL --- src/changes/changes.xml | 1 + src/main/java/org/apache/commons/codec/language/bm/Rule.java | 4 ++++ 2 files changed, 5 insertions(+) diff --git a/src/changes/changes.xml b/src/changes/changes.xml index 469bb8b7..a6fab1a6 100644 --- a/src/changes/changes.xml +++ b/src/changes/changes.xml @@ -55,6 +55,7 @@ The <action> type attribute can be add,update,fix,remove. <action type="fix" dev="ggregory" due-to="Gary Gregory">Precompile regular expressions in org.apache.commons.codec.language.bm.Rule.parse*(*).</action> <action type="fix" dev="ggregory" due-to="Gary Gregory">Remove redundant checks for whitespace in DaitchMokotoffSoundex.soundex(String, boolean).</action> <action type="fix" dev="ggregory" due-to="Sebastian Baunsgaard">Javadoc typo in Base16.java #380.</action> + <action type="fix" dev="ggregory" due-to="Gary Gregory">Deprecate unused constant org.apache.commons.codec.language.bm.Rule.ALL.</action> <!-- ADD --> <action type="add" dev="ggregory" due-to="Gary Gregory">Add HmacUtils.hmac(Path).</action> <action type="add" dev="ggregory" due-to="Gary Gregory">Add HmacUtils.hmacHex(Path).</action> diff --git a/src/main/java/org/apache/commons/codec/language/bm/Rule.java b/src/main/java/org/apache/commons/codec/language/bm/Rule.java index 3f05787c..8d7d6b66 100644 --- a/src/main/java/org/apache/commons/codec/language/bm/Rule.java +++ b/src/main/java/org/apache/commons/codec/language/bm/Rule.java @@ -281,8 +281,12 @@ public class Rule { /** * Unused. + * + * @deprecated This is unused. */ + @Deprecated public static final String ALL = "ALL"; + private static final String DOUBLE_QUOTE = "\""; private static final String HASH_INCLUDE = "#include"; private static final int HASH_INCLUDE_LENGTH = HASH_INCLUDE.length();
