You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/changes/changes.xml
+4-2Lines changed: 4 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -45,13 +45,15 @@ The <action> type attribute can be add,update,fix,remove.
45
45
<title>Apache Commons Text Changes</title>
46
46
</properties>
47
47
<body>
48
-
<releaseversion="1.15.0"date="YYYY-MM-DD"description="This is a feature and maintenance release. Java 8 or later is required.">
48
+
<releaseversion="1.15.0"date="YYYY-MM-DD"description="Release 1.15.0. This is a feature and maintenance release. Java 8 or later is required.">
49
49
<!-- FIX -->
50
50
<actiontype="fix"dev="ggregory"due-to="Gary Gregory">Fix exception message typo in XmlStringLookup.XmlStringLookup(Map, Path...).</action>
51
51
<actiontype="fix"dev="ggregory"due-to="Pierre Post, Sumit Bera, Alex Herbert, Gary Gregory"issue="TEXT-236">Inserting at the end of a TextStringBuilder throws a StringIndexOutOfBoundsException.</action>
52
52
<actiontype="fix"dev="ggregory"due-to="Michael Hausegger">Fix TextStringBuilderTest.testAppendToCharBuffer() to use proper argument type #724.</action>
53
53
<actiontype="fix"dev="ggregory"due-to="Gary Gregory">Fix Apache RAT plugin console warnings.</action>
54
54
<actiontype="fix"dev="ggregory"due-to="Gary Gregory">Fix site XML to use version 2.0.0 XML schema.</action>
55
+
<actiontype="fix"dev="ggregory"due-to="Michael Hausegger">Removed unreachable threshold verification code in src/main/java/org/apache/commons/text/similarity #730.</action>
56
+
<actiontype="fix"dev="ggregory"due-to="김민재, Gary Gregory">Enable secure processing for the XML parser in XmlStringLookup #729.</action>
55
57
<!-- ADD -->
56
58
<actiontype="add"dev="ggregory"due-to="Piotr P. Karwasz, Gary Gregory">Add experimental CycloneDX VEX file #683.</action>
57
59
<actiontype="add"dev="ggregory"due-to="LorgeN, Gary Gregory"issue="TEXT-235">Add Damerau-Levenshtein distance #687.</action>
@@ -60,7 +62,7 @@ The <action> type attribute can be add,update,fix,remove.
60
62
<actiontype="add"dev="ggregory"due-to="Michael Hausegger">Add test assertions for SimilarityCharacterInput#equals() #727.</action>
61
63
<!-- UPDATE -->
62
64
<actiontype="update"dev="ggregory"due-to="Gary Gregory">Bump org.apache.commons:commons-parent from 85 to 93 #704, #723, #726.</action>
63
-
<actiontype="update"dev="ggregory"due-to="Gary Gregory">Bump commons.bytebuddy.version from 1.17.6 to 1.18.1 #696, #722.</action>
65
+
<actiontype="update"dev="ggregory"due-to="Gary Gregory">Bump commons.bytebuddy.version from 1.17.6 to 1.18.2 #696, #722.</action>
64
66
<actiontype="update"dev="ggregory"due-to="Gary Gregory, Dependabot">Bump graalvm.version from 24.2.2 to 25.0.1 #703, #716.</action>
65
67
<actiontype="update"dev="ggregory"due-to="Gary Gregory">Bump org.apache.commons:commons-lang3 from 3.18.0 to 3.20.0.</action>
66
68
<actiontype="update"dev="ggregory"due-to="Gary Gregory">Bump commons-io:commons-io from 2.20.0 to 2.21.0.</action>
* Creates an alphabet converter, for converting from the original alphabet,
113
-
* to the encoded alphabet, while leaving
114
-
* the characters in <em>doNotEncode</em> as they are (if possible).
112
+
* Creates an alphabet converter, for converting from the original alphabet, to the encoded alphabet, while leaving the characters in <em>doNotEncode</em>
113
+
* as they are (if possible).
115
114
*
116
-
* <p>Duplicate letters in either original or encoding will be ignored.</p>
115
+
* <p>
116
+
* Duplicate letters in either original or encoding will be ignored.
117
+
* </p>
117
118
*
118
-
* @param original an array of ints representing the original alphabet in
119
-
* code points
120
-
* @param encoding an array of ints representing the alphabet to be used for
121
-
* encoding, in code points
122
-
* @param doNotEncode an array of ints representing the chars to be encoded
123
-
* using the original alphabet - every char
124
-
* here must appear in both the previous params
125
-
* @return The AlphabetConverter
126
-
* @throws IllegalArgumentException if an AlphabetConverter cannot be
127
-
* constructed
119
+
* @param original an array of ints representing the original alphabet in code points.
120
+
* @param encoding an array of ints representing the alphabet to be used for encoding, in code points.
121
+
* @param doNotEncode an array of ints representing the chars to be encoded using the original alphabet - every char here must appear in both the previous
122
+
* params.
123
+
* @return The AlphabetConverter.
124
+
* @throws IllegalArgumentException if an AlphabetConverter cannot be constructed.
128
125
*/
129
126
publicstaticAlphabetConvertercreateConverter(
130
127
finalInteger[] original,
@@ -251,8 +248,8 @@ public static AlphabetConverter createConverterFromChars(
251
248
/**
252
249
* Creates a new converter from a map.
253
250
*
254
-
* @param originalToEncoded a map returned from getOriginalToEncoded()
255
-
* @return The reconstructed AlphabetConverter
251
+
* @param originalToEncoded a map returned from getOriginalToEncoded().
0 commit comments