1130 Commits

Author SHA1 Message Date
Gary Gregory
059fb3b8c1 Add SystemProperties constants and methods for system properties as of
Java 22
2024-05-02 14:58:20 -04:00
Gary Gregory
9a313ed460 Add SystemProperties constants for system properties as of Java 22. 2024-05-01 13:46:24 -04:00
Gary Gregory
a752091be6 Add and use
org.apache.commons.lang3.SystemProperties.getJavaSpecificationVersion(Supplier<String>)
2024-05-01 10:07:45 -04:00
Gary Gregory
794f8aaf1e Deprecate SystemUtils.getUserName(String) in favor of
SystemProperties.getUserName(Supplier)
2024-05-01 09:12:09 -04:00
Gary Gregory
9384d0fb58 Add org.apache.commons.lang3.SystemProperties.getLineSeparator(Supplier<String>) 2024-05-01 09:02:36 -04:00
Gary Gregory
f2cacb4732 Add org.apache.commons.lang3.SystemProperties.getUserName(Supplier<String>) 2024-05-01 09:02:17 -04:00
Gary Gregory
892826578a Add SystemUtils.IS_JAVA_22
- Add JavaVersion.JAVA_22
- Add missing test assertions
2024-04-24 18:20:53 -04:00
Gary Gregory
c4007c4a24 [LANG-1524] TypeUtils.toString(Type) StackOverflowError for an inner
class in the inner class parameterized enclosing class #657
2024-04-24 11:09:10 -04:00
Gary Gregory
b850d804ac
StringUtils.stripAccents() should handle ligatures, UTF32 math blocks, etc. #1201 2024-04-19 08:55:06 -04:00
Gary Gregory
3a1b5adfc2
Bump org.apache.commons:commons-text from 1.11.0 to 1.12.0 #1200 2024-04-16 16:36:31 -04:00
Gary Gregory
8ddebc231e Add T ArrayUtils.arraycopy(T, int, int, int, Function) fluent style
Add T ArrayUtils.arraycopy(T, int, int, int, Supplier) fluent style
2024-04-02 14:41:18 -04:00
Gary Gregory
88374a270b Add and use ArrayUtils.arraycopy(T, int, T, int, int) 2024-04-02 14:40:44 -04:00
Gary Gregory
c3190fd5c1
Bump org.apache.commons:commons-parent from 67 to 69 #1194 2024-04-01 16:31:22 -04:00
Gary Gregory
ab8caff3a3 Add ArrayUtils.nullTo(T[], T[]) 2024-03-31 15:27:07 -04:00
Gary Gregory
6473663070 Add Streams.nonNull(T), non-varargs variant 2024-03-29 14:12:41 -04:00
Gary Gregory
b9c7da0a8c Add Streams.failableStream(T), non-varargs variant 2024-03-29 11:45:08 -04:00
Gary Gregory
5a9cc5f20b
Fix Java version in README.md #1170 2024-03-09 13:58:34 -05:00
Gary Gregory
3909e38508
Bump org.apache.commons:commons-parent from 66 to 67 #1181 2024-03-09 13:56:19 -05:00
Gary Gregory
aeca68f2a5 Make ArraySorter null-safe
Make ArrayUtils.removeAll() null-safe
2024-02-23 20:27:30 -05:00
Gary Gregory
8e05b7141a Make ArrayFill null-safe 2024-02-23 18:32:45 -05:00
Gary Gregory
948abe9d85
Bump org.codehaus.mojo:exec-maven-plugin from 3.1.1 to 3.2.0 #1175 2024-02-23 11:49:23 -05:00
Gary Gregory
0bcf2825f6 Document bump commons-parent from 65 to 66 2024-02-18 08:36:05 -05:00
Gary Gregory
60eaad9531
Allow EventListenerSupport to handle (and ignore) exception from listeners allowing invocation of all listeners #1167 2024-01-30 13:35:17 -05:00
Gary Gregory
efb9b44acd Document deprecations
- Deprecate DurationUtils 0-argument constructor
- Deprecate DurationFormatUtils 0-argument constructor
- Deprecate DateUtils 0-argument constructor
- Deprecate DateFormatUtils 0-argument constructor
- Deprecate Streams 0-argument constructor
- Deprecate IntStreams 0-argument constructor
- Deprecate TypeUtils 0-argument constructor
- Deprecate MethodUtils 0-argument constructor
- Deprecate MemberUtils 0-argument constructor
- Deprecate InheritanceUtils 0-argument constructor
- Deprecate FieldUtils 0-argument constructor
- Deprecate ConstructorUtils 0-argument constructor
- Deprecate NumberUtils 0-argument constructor
- Deprecate IEEE754rUtils 0-argument constructor
- Deprecate Suppliers 0-argument constructor
- Deprecate EventUtils 0-argument constructor
- Deprecate LockingVisitors 0-argument constructor
- Deprecate ThreadUtils 0-argument constructor
- Deprecate SystemProperties 0-argument constructor
- Deprecate StringUtils 0-argument constructor
- Deprecate StringEscapeUtils 0-argument constructor
- Deprecate SerializationUtils 0-argument constructor
- Deprecate RegExUtils 0-argument constructor
- Deprecate RandomUtils 0-argument constructor
- Deprecate RandomStringUtils 0-argument constructor
- Deprecate ObjectUtils 0-argument constructor
- Deprecate LocaleUtils 0-argument constructor
- Deprecate EnumUtils 0-argument constructor
- Deprecate ClassUtils 0-argument constructor
- Deprecate ClassPathUtils 0-argument constructor
- Deprecate ClassLoaderUtils 0-argument constructor
- Deprecate CharUtils 0-argument constructor
- Deprecate CharSetUtils 0-argument constructor
- Deprecate CharSequenceUtils 0-argument constructor
- Deprecate BooleanUtils 0-argument constructor
- Deprecate ArrayUtils 0-argument constructor
- Deprecate ArchUtils 0-argument constructor
- Deprecate AnnotationUtils 0-argument constructor
2024-01-25 09:56:19 -05:00
Gary Gregory
b3b51d1eda
Address minor redundancies after code inspection #1148 2024-01-24 22:12:01 -05:00
Gary Gregory
8377fa429b
Test the Conversion class #1155 2024-01-10 09:40:03 -05:00
Gary Gregory
adc70c15ce [LANG-1726] Undeprecate ExceptionUtils.rethrow(Throwable) 2024-01-04 15:20:30 -05:00
Gary Gregory
e728fab132 Add test in TypeUtilsTest #1151 2024-01-03 07:17:00 -05:00
Gary Gregory
7d12dfb329 Let parent POM figure out commons.spdx.version 2023-12-12 08:01:47 -05:00
Gary Gregory
4949adec48 Add ReflectionDiffBuilder.Builder
- Add ReflectionDiffBuilder.builder()
2023-12-12 07:55:33 -05:00
Gary Gregory
aa4eef85cf [LANG-1724] Customize text pattern in DiffResult#toString()
- Add DiffBuilder.Builder
- Add DiffBuilder.builder()
2023-12-11 15:18:47 -05:00
Gary Gregory
cb3cbd356f Deprecate org.apache.commons.lang3.builder.Diff.getType() 2023-12-11 09:52:16 -05:00
Gary Gregory
84b7eb01fc [LANG-1713] ArrayUtils will return null when adding two null arrays, but
undocumented
2023-12-09 11:49:08 -05:00
Gary Gregory
c9513cf2ca
Throw NumberFormatException instead of IndexOutOfBoundsException in NumberUtils.getMantissa(String, int) #1145 2023-12-09 09:35:27 -05:00
Gary Gregory
2078f5c4c9
Throw NumberFormatException instead of IndexOutOfBoundsException in NumberUtils.getMantissa(String, int) #1145 2023-12-09 09:34:55 -05:00
Sebb
26e41e0199 Bump parent pom to 65 2023-12-08 23:45:13 +00:00
Sebb
3ac237e0e2
Merge pull request #1130 from syoon2/master
Fix broken changelog
2023-12-08 16:48:59 +00:00
Gary Gregory
4b41f2e26f Typo 2023-12-07 08:49:09 -05:00
Gary Gregory
40e1f5de33
Rethrow NegativeArraySizeException as SerializationException in SerilizationUtils.deserialize(InputStream) #1141 2023-12-07 08:46:12 -05:00
Gary Gregory
3760ad0838
Update changes.xml 2023-12-07 08:44:36 -05:00
Gary Gregory
68fdc0dd67
[LANG-1721] Fix wrong number check that cause StringIndexOutOfBoundsException #1140 2023-12-06 09:46:15 -05:00
Gary Gregory
c52fec6932 Clean up text 2023-11-27 07:37:43 -05:00
Gary Gregory
c9dfff1c08 Fixed two non-deterministic tests in EnumUtilsTest.java #1131 2023-11-21 21:10:00 -05:00
Gary Gregory
9f67b81dab Improve Javadoc in ExceptionUtils #1136 2023-11-21 21:05:31 -05:00
Gary Gregory
f075fef26f Add section for next release
Update properties
2023-11-21 20:37:26 -05:00
Gary Gregory
cae7d5f613 Prepare for the next release candidate 2023-11-18 09:38:45 -05:00
Gary Gregory
9ca1652a68
Bump org.codehaus.mojo:exec-maven-plugin from 3.1.0 to 3.1.1 #1135 2023-11-17 11:44:08 -05:00
Sung Ho Yoon
3201bdff38
(doc) Fix broken changelog 2023-11-15 09:31:10 +09:00
Gary Gregory
912ab7154d
Fix Javadoc syntax errors #1129 2023-11-13 07:40:24 -05:00
Gary Gregory
ebca9c9ee8 Add support for RISC-V in ArchUtils #1128 2023-11-05 07:36:55 -05:00