Skip to content

Commit 73c5a88

Browse files
committed
2 parents dd6aea6 + 1e94c92 commit 73c5a88

25 files changed

+158
-183
lines changed

.github/workflows/codeql-analysis.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ jobs:
5757
5858
# Initializes the CodeQL tools for scanning.
5959
- name: Initialize CodeQL
60-
uses: github/codeql-action/init@48ab28a6f5dbc2a99bf1e0131198dd8f1df78169 # 3.28.0
60+
uses: github/codeql-action/init@b6a472f63d85b9c78a3ac5e89422239fc15e9b3c # 3.28.1
6161
with:
6262
languages: ${{ matrix.language }}
6363
# If you wish to specify custom queries, you can do so here or in a config file.
@@ -68,7 +68,7 @@ jobs:
6868
# Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
6969
# If this step fails, then you should remove it and run the build manually (see below)
7070
- name: Autobuild
71-
uses: github/codeql-action/autobuild@48ab28a6f5dbc2a99bf1e0131198dd8f1df78169 # 3.28.0
71+
uses: github/codeql-action/autobuild@b6a472f63d85b9c78a3ac5e89422239fc15e9b3c # 3.28.1
7272

7373
# ℹ️ Command-line programs to run using the OS shell.
7474
# 📚 https://git.io/JvXDl
@@ -82,4 +82,4 @@ jobs:
8282
# make release
8383

8484
- name: Perform CodeQL Analysis
85-
uses: github/codeql-action/analyze@48ab28a6f5dbc2a99bf1e0131198dd8f1df78169 # 3.28.0
85+
uses: github/codeql-action/analyze@b6a472f63d85b9c78a3ac5e89422239fc15e9b3c # 3.28.1

.github/workflows/scorecards-analysis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,6 @@ jobs:
6464
retention-days: 5
6565

6666
- name: "Upload to code-scanning"
67-
uses: github/codeql-action/upload-sarif@48ab28a6f5dbc2a99bf1e0131198dd8f1df78169 # 3.28.0
67+
uses: github/codeql-action/upload-sarif@b6a472f63d85b9c78a3ac5e89422239fc15e9b3c # 3.28.1
6868
with:
6969
sarif_file: results.sarif

RELEASE-NOTES.txt

Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ o Reimplement StopWatch internals to use java.time. Thanks to Gary Gr
128128
o LANG-1745: RandomStringUtils.random() with a negative character index should throw IllegalArgumentException. Thanks to Wang Hailong, Gary Gregory.
129129
o LANG-1741: LocaleUtils.toLocale(String) cannot parse four segments. Thanks to Wang Hailong, Gary Gregory.
130130
o Use fewer intermediary strings in DefaultExceptionContext.getFormattedExceptionMessage(String). Thanks to Gary Gregory.
131-
o Fix Javadoc in StringUtils.splitPreserveAllTokens() #1251. Thanks to V�clav Haisman.
131+
o Fix Javadoc in StringUtils.splitPreserveAllTokens() #1251. Thanks to V�clav Haisman.
132132
o Deprecate ArraySort constructor for removal. Thanks to Gary Gregory.
133133
o Deprecate CharEncoding constructor for removal. Thanks to Gary Gregory.
134134
o Deprecate Conversion constructor for removal. Thanks to Gary Gregory.
@@ -205,15 +205,15 @@ o Add RuntimeEnvironment.inContainer() #1241. Thanks to Gary Gregory.
205205
o Add AppendableJoiner and refactor string joining #1244. Thanks to Gary Gregory.
206206

207207
Fixed Bugs:
208-
o Improve Javadoc in ExceptionUtils #1136. Thanks to Mikl�s Karak�, Gary Gregory.
208+
o Improve Javadoc in ExceptionUtils #1136. Thanks to Mikl�s Karak�, Gary Gregory.
209209
o Fixed two non-deterministic tests in EnumUtilsTest.java #1131. Thanks to Saiharshith Karuneegar Ramesh, Gary Gregory.
210210
o LANG-1721: Fix wrong number check that cause StringIndexOutOfBoundsException #1140. Thanks to Arthur Chan, Gary Gregory.
211211
o LANG-1722: Rethrow NegativeArraySizeException as SerializationException in SerializationUtils.deserialize(InputStream) #1141. Thanks to Arthur Chan.
212212
o LANG-1723: Throw NumberFormatException instead of IndexOutOfBoundsException in NumberUtils.getMantissa(String, int) #1145. Thanks to Arthur Chan, Gary Gregory.
213-
o Minor grammar fixes #1143. Thanks to Parano�d User.
213+
o Minor grammar fixes #1143. Thanks to Parano�d User.
214214
o LANG-1713: ArrayUtils will return null when adding two null arrays, but undocumented. Thanks to John Hendrikx, Gary Gregory.
215215
o Let parent POM figure out commons.spdx.version. Thanks to Gary Gregory.
216-
o LANG-1726: Undeprecate ExceptionUtils.rethrow(Throwable). Thanks to V�clav Haisman, Gary Gregory.
216+
o LANG-1726: Undeprecate ExceptionUtils.rethrow(Throwable). Thanks to V�clav Haisman, Gary Gregory.
217217
o LANG-1702: Test the Conversion class #1155. Thanks to Elliotte Rusty Harold.
218218
o Address minor redundancies after code inspection #1148. Thanks to ParanoidUser, Elliotte Rusty Harold, Gary Gregory.
219219
o Allow EventListenerSupport to handle (and ignore) exception from listeners allowing invocation of all listeners #1167. Thanks to Gary Gregory.
@@ -288,7 +288,7 @@ o Bump org.easymock:easymock from 5.2.0 to 5.3.0 #1232. Thanks to Dep
288288
o Bump org.codehaus.mojo:taglist-maven-plugin from 3.0.0 to 3.1.0 #1242. Thanks to Dependabot.
289289

290290
Removed:
291-
o Drop obsolete JDK 13 Maven profile #1142. Thanks to Parano�d User.
291+
o Drop obsolete JDK 13 Maven profile #1142. Thanks to Parano�d User.
292292

293293
Historical list of changes: https://commons.apache.org/proper/commons-lang/changes-report.html
294294

@@ -354,7 +354,7 @@ o LANG-1704: ImmutablePair and ImmutableTriple implementation don't match final
354354
o [Javadoc] Fix Incorrect Description in Processor isAarch64() #1093. Thanks to Sung Ho Yoon.
355355
o [Javadoc] Point to right getShortClassName flavor in Javadoc for relevant notes #1097. Thanks to ljacqu.
356356
o Improve performance of StringUtils.isMixedCase() #1096. Thanks to hduelme.
357-
o LANG-1706: ThreadUtils find methods should not return null items #1098. Thanks to Alberto Fern�ndez.
357+
o LANG-1706: ThreadUtils find methods should not return null items #1098. Thanks to Alberto Fern�ndez.
358358
o LANG-1710: ReflectionToStringBuilder changes in version 3.13.0 has broken the logic for overriding classes. Thanks to Shashank Sharma, Gary Gregory, Oksana.
359359
o Return "null" instead of NPE in ClassLoaderUtils.toString(ClassLoader). Thanks to Gary Gregory.
360360
o Return "null" instead of NPE in ClassLoaderUtils.toString(URLClassLoader). Thanks to Gary Gregory.
@@ -810,7 +810,7 @@ o LANG-1564: Use Collections.singletonList insteadof Arrays.asList when there be
810810
o LANG-1553: Change array style from `int a[]` to `int[] a` #537. Thanks to XenoAmess.
811811
o LANG-1552: Change from addAll to constructors for some List #536. Thanks to XenoAmess.
812812
o LANG-1558: Simplify if as some conditions are covered by others #543. Thanks to XenoAmess.
813-
o LANG-1567: Fixed Javadocs for setTestRecursive() #556. Thanks to Miguel Mu�oz, Bruno P. Kinoshita, Gary Gregory.
813+
o LANG-1567: Fixed Javadocs for setTestRecursive() #556. Thanks to Miguel Mu�oz, Bruno P. Kinoshita, Gary Gregory.
814814
o LANG-1542: ToStringBuilder.reflectionToString - Wrong JSON format when object has a List of Enum. Thanks to Tr?n Ng?c Khoa, Gary Gregory.
815815
o Make org.apache.commons.lang3.CharSequenceUtils.toCharArray(CharSequence) public.
816816
o org.apache.commons:commons-parent 50 -> 51.
@@ -828,7 +828,7 @@ patches, or suggestions for improvement, see the Apache Commons Lang website:
828828

829829
https://commons.apache.org/proper/commons-lang/
830830

831-
Download page: https://commons.apache.org/proper/commons-lang/download_csv.cgi
831+
Download page: https://commons.apache.org/proper/commons-lang/download_lang.cgi
832832

833833
Have fun!
834834
-Apache Commons Team
@@ -1051,7 +1051,7 @@ Changes in this version include:
10511051

10521052
New features:
10531053
o LANG-1352: EnumUtils.getEnumIgnoreCase and isValidEnumIgnoreCase methods added Thanks to Ruslan Sibgatullin.
1054-
o LANG-1372: Add ToStringSummary annotation Thanks to S�rgio Ozaki.
1054+
o LANG-1372: Add ToStringSummary annotation Thanks to S�rgio Ozaki.
10551055
o LANG-1356: Add bypass option for classes to recursive and reflective EqualsBuilder Thanks to Yathos UG.
10561056
o LANG-1391: Improve Javadoc for StringUtils.isAnyEmpty(null) Thanks to Sauro Matulli, Oleg Chubaryov.
10571057
o LANG-1393: Add API SystemUtils.String getEnvironmentVariable(final String name, final String defaultValue) Thanks to Gary Gregory.
@@ -1263,7 +1263,7 @@ o LANG-1292: WordUtils.wrap throws StringIndexOutOfBoundsException.
12631263
o LANG-1287: RandomStringUtils#random can enter infinite loop if end parameter
12641264
is to small. Thanks to Ivan Morozov.
12651265
o LANG-1285: NullPointerException in FastDateParser$TimeZoneStrategy.
1266-
Thanks to Francesco Chicchiricc�.
1266+
Thanks to Francesco Chicchiricc�.
12671267
o LANG-1281: Javadoc of StringUtils.ordinalIndexOf is contradictory.
12681268
Thanks to Andreas Lundblad.
12691269
o LANG-1188: StringUtils#join(T...): warning: [unchecked] Possible heap
@@ -1581,9 +1581,9 @@ o LANG-1176: Improve ArrayUtils removeElements time complexity to O(n). Thanks
15811581
to Jeffery Yuan.
15821582
o LANG-1234: getLevenshteinDistance with a threshold: optimize implementation
15831583
if the strings lengths differ more than the threshold. Thanks to
1584-
Jonatan J�nsson.
1584+
Jonatan J�nsson.
15851585
o LANG-1151: Performance improvements for NumberUtils.isParsable. Thanks to
1586-
Juan Pablo Santos Rodr�guez.
1586+
Juan Pablo Santos Rodr�guez.
15871587
o LANG-1218: EqualsBuilder.append(Object,Object) is too big to be inlined,
15881588
which prevents whole builder to be scalarized. Thanks to
15891589
Ruslan Cheremin.
@@ -1595,7 +1595,7 @@ o LANG-1182: Clarify Javadoc of StringUtils.containsAny(). Thanks to
15951595
o LANG-1183: Making replacePattern/removePattern methods null safe in
15961596
StringUtils.
15971597
o LANG-1057: Replace StringBuilder with String concatenation for better
1598-
optimization. Thanks to Ot�vio Santana.
1598+
optimization. Thanks to Ot�vio Santana.
15991599
o LANG-1075: Deprecate SystemUtils.FILE_SEPARATOR and
16001600
SystemUtils.PATH_SEPARATOR.
16011601
o LANG-979: TypeUtils.parameterizeWithOwner - wrong format descriptor for
@@ -1642,13 +1642,13 @@ o LANG-1080: Add NoClassNameToStringStyle implementation of ToStringStyle.
16421642
Thanks to Innokenty Shuvalov.
16431643
o LANG-883: Add StringUtils.containsAny(CharSequence, CharSequence...) method.
16441644
Thanks to Daniel Stewart.
1645-
o LANG-1052: Multiline recursive to string style. Thanks to Jan Mat�rne.
1645+
o LANG-1052: Multiline recursive to string style. Thanks to Jan Mat�rne.
16461646
o LANG-536: Add isSorted() to ArrayUtils. Thanks to James Sawle.
16471647
o LANG-1033: Add StringUtils.countMatches(CharSequence, char)
16481648
o LANG-1021: Provide methods to retrieve all fields/methods annotated with a
1649-
specific type. Thanks to Alexander M�ller.
1649+
specific type. Thanks to Alexander M�ller.
16501650
o LANG-1016: NumberUtils#isParsable method(s). Thanks to
1651-
Juan Pablo Santos Rodr�guez.
1651+
Juan Pablo Santos Rodr�guez.
16521652
o LANG-999: Add fuzzy String matching logic to StringUtils. Thanks to
16531653
Ben Ripkens.
16541654
o LANG-994: Add zero copy read method to StrBuilder. Thanks to
@@ -1823,12 +1823,12 @@ o LANG-943: Test DurationFormatUtilsTest.testEdgeDuration fails in
18231823
o LANG-613: ConstructorUtils.getAccessibleConstructor() Does Not Check the
18241824
Accessibility of Enclosing Classes
18251825
o LANG-951: Fragments are wrong by 1 day when using fragment YEAR or MONTH.
1826-
Thanks to Sebastian G�tz.
1826+
Thanks to Sebastian G�tz.
18271827
o LANG-950: FastDateParser does not handle two digit year parsing like
18281828
SimpleDateFormat
18291829
o LANG-949: FastDateParserTest.testParses does not test FastDateParser
18301830
o LANG-915: Wrong locale handling in LocaleUtils.toLocale().
1831-
Thanks to Sergio Fern�ndez.
1831+
Thanks to Sergio Fern�ndez.
18321832

18331833
CHANGES
18341834
=========
@@ -1927,7 +1927,7 @@ o LANG-462: FastDateFormat supports parse methods.
19271927
BUG FIXES
19281928
===========
19291929

1930-
o LANG-932: Spelling fixes. Thanks to Ville Skytt�.
1930+
o LANG-932: Spelling fixes. Thanks to Ville Skytt�.
19311931
o LANG-929: OctalUnescaper tried to parse all of \279.
19321932
o LANG-928: OctalUnescaper had bugs when parsing octals starting with a zero.
19331933
o LANG-905: EqualsBuilder returned true when comparing arrays, even when the

pom.xml

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -68,12 +68,6 @@
6868
<artifactId>junit-pioneer</artifactId>
6969
<scope>test</scope>
7070
</dependency>
71-
<dependency>
72-
<groupId>org.hamcrest</groupId>
73-
<artifactId>hamcrest</artifactId>
74-
<version>3.0</version>
75-
<scope>test</scope>
76-
</dependency>
7771
<dependency>
7872
<groupId>org.easymock</groupId>
7973
<artifactId>easymock</artifactId>

src/changes/release-notes.vm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ Removed:
129129
## End of main loop
130130
#end
131131

132-
Historical list of changes: ${project.url}changes-report.html
132+
Historical list of changes: ${project.url}changes.html
133133

134134
For complete information on ${project.name}, including instructions on how to submit bug reports,
135135
patches, or suggestions for improvement, see the ${project.name} website:

src/main/java/org/apache/commons/lang3/builder/DiffExclude.java

100755100644
File mode changed.

src/main/java/org/apache/commons/lang3/builder/EqualsExclude.java

100755100644
File mode changed.

src/main/java/org/apache/commons/lang3/builder/HashCodeExclude.java

100755100644
File mode changed.

src/main/java/org/apache/commons/lang3/builder/ToStringExclude.java

100755100644
File mode changed.

0 commit comments

Comments
 (0)