Skip to content

Commit 1b815fe

Browse files
committed
Deprecate CharSequenceUtils.CharSequenceUtils()
1 parent 6921f98 commit 1b815fe

File tree

2 files changed

+11
-0
lines changed

2 files changed

+11
-0
lines changed

src/changes/changes.xml

+1
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,7 @@ The <action> type attribute can be add,update,fix,remove.
4747
<!-- FIX -->
4848
<action type="fix" dev="ggregory" due-to="Gary Gregory">Rewrite DaitchMokotoffSoundex.soundex(String) using String.join().</action>
4949
<action type="fix" issue="CODEC-324" dev="ggregory" due-to="Michael Froh">Use Resource.class to load resources, rather than its class loader #353.</action>
50+
<action type="fix" dev="ggregory" due-to="Gary Gregory">Deprecate CharSequenceUtils.CharSequenceUtils().</action>
5051
<!-- ADD -->
5152
<!-- UPDATE -->
5253
<action type="update" dev="ggregory" due-to="Dependabot">Bump org.apache.commons:commons-lang3 from 3.14.0 to 3.17.0 #296, #305, #313.</action>

src/main/java/org/apache/commons/codec/binary/CharSequenceUtils.java

+10
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,16 @@
2929
*/
3030
public class CharSequenceUtils {
3131

32+
/**
33+
* Consider package-private.
34+
*
35+
* @deprecated Will be package-private in the next major version.
36+
*/
37+
@Deprecated
38+
public CharSequenceUtils() {
39+
// empty
40+
}
41+
3242
/**
3343
* Green implementation of regionMatches.
3444
*

0 commit comments

Comments
 (0)