diff --git a/src/changes/changes.xml b/src/changes/changes.xml index bc098fe7c7..79383ca808 100644 --- a/src/changes/changes.xml +++ b/src/changes/changes.xml @@ -47,6 +47,7 @@ The type attribute can be add,update,fix,remove. Rewrite DaitchMokotoffSoundex.soundex(String) using String.join(). Use Resource.class to load resources, rather than its class loader #353. + Deprecate CharSequenceUtils.CharSequenceUtils(). Bump org.apache.commons:commons-lang3 from 3.14.0 to 3.17.0 #296, #305, #313. diff --git a/src/main/java/org/apache/commons/codec/binary/CharSequenceUtils.java b/src/main/java/org/apache/commons/codec/binary/CharSequenceUtils.java index 0625e65699..ece4d81d03 100644 --- a/src/main/java/org/apache/commons/codec/binary/CharSequenceUtils.java +++ b/src/main/java/org/apache/commons/codec/binary/CharSequenceUtils.java @@ -29,6 +29,16 @@ */ public class CharSequenceUtils { + /** + * Consider package-private. + * + * @deprecated Will be package-private in the next major version. + */ + @Deprecated + public CharSequenceUtils() { + // empty + } + /** * Green implementation of regionMatches. *