Gary Gregory
940b79b59c
Allow extension of previously final classes ImmutablePair and
...
ImmutableTriple
2022-06-02 07:18:36 -04:00
Gary Gregory
db4a8b47f0
@SuppressWarnings("unchecked") not needed
2022-06-01 15:58:15 -04:00
Gary Gregory
330ba4d932
Bump actions/cache from 3.0.2 to 3.0.3
2022-05-31 16:37:13 -04:00
Gary Gregory
6f3b00f36d
Remove noisy inline comments.
2022-05-31 11:27:42 -04:00
Gary Gregory
9ffccd7ac3
Javadoc
2022-05-31 11:09:28 -04:00
Gary Gregory
d5fb182cc1
Javadoc
2022-05-31 11:08:59 -04:00
Gary Gregory
9370617f27
Javadoc
2022-05-31 11:07:10 -04:00
Gary Gregory
16ed9eb220
Reuse Function identity
2022-05-30 09:30:28 -04:00
Gary Gregory
47f699be39
Fix generics compiler warnings
2022-05-30 09:24:15 -04:00
Gary Gregory
2477d7970f
Document unused for tests
2022-05-30 09:18:11 -04:00
Gary Gregory
702d661907
Add synchronized like super
2022-05-30 09:14:43 -04:00
Gary Gregory
c7d56ecb70
Document unused type parameter for tests
2022-05-30 09:14:20 -04:00
Gary Gregory
e8cccb8efb
Add synchronized like super
2022-05-30 09:11:14 -04:00
Gary Gregory
cf8d9737eb
Organize imports
2022-05-30 09:06:16 -04:00
Gary Gregory
e7762b2672
Use try-with-resources without final (redundant SpotBugs)
2022-05-30 09:05:38 -04:00
Gary Gregory
bb43de8a5e
Use try-with-resources
2022-05-30 09:02:29 -04:00
Gary Gregory
1fed20b531
Add and document @SuppressWarnings
2022-05-30 08:59:02 -04:00
Gary Gregory
254e0f1da8
Remove unnecessary @SuppressWarnings
2022-05-30 08:54:23 -04:00
Gary Gregory
803aa24db0
Add missing serialVersionUID declarations in tests
2022-05-30 08:49:50 -04:00
Gary Gregory
6ebaad61fe
Fix test
2022-05-29 17:41:36 -04:00
Gary Gregory
308b28a478
Fix test
2022-05-29 17:10:12 -04:00
Gary Gregory
d1b750eaca
Javadoc
2022-05-28 14:03:15 -04:00
Gary Gregory
8a6a5d9ebc
Fix Javadoc, use ternary expressions, use Objects instead of Validate,
...
format fix
2022-05-28 13:59:39 -04:00
Gary Gregory
16de452a37
Add DurationUtils.of(FailableConsumer|FailableRunnbale)
2022-05-28 09:02:02 -04:00
Gary Gregory
eb2bc4d3b7
Remove @SuppressWarnings("unchecked")
2022-05-28 07:58:24 -04:00
Gary Gregory
25000a62f4
Merge branch 'master' of https://gitbox.apache.org/repos/asf/commons-lang.git
2022-05-28 07:53:41 -04:00
Gary Gregory
247cae4896
Better Javadoc
2022-05-28 07:53:27 -04:00
Gary Gregory
65fb650380
Fix unstable coverage of CharSequenceUtils tests noticed during merge of PRs 898 and 899 #901
2022-05-27 14:18:16 -04:00
Steve Bosman
91d157f74e
Fix unstable coverage of CharSequenceUtils tests noticed during merge of PRs 898 and 899 ( #901 )
2022-05-27 14:17:19 -04:00
Alex Herbert
d8cea4d1f4
Track changes
2022-05-27 16:19:38 +01:00
Alex Herbert
e274e6b6c7
Formatting
2022-05-27 16:19:29 +01:00
Arturo Bernal
cf7c9522aa
Rewrite method to be the same as binaryToHexDigit but working from the end of the array backwards.
2022-05-27 16:17:41 +01:00
Gary Gregory
6eb223bb8c
Add DurationUtils.since(Temporal)
2022-05-27 10:21:53 -04:00
Gary Gregory
a88dda4b74
Better constant name.
2022-05-26 16:59:08 -04:00
Gary Gregory
b134387206
Increase method test coverage of MultilineRecursiveToStringStyle #899
2022-05-26 16:57:31 -04:00
Steve Bosman
31998ee36c
Increase method test coverage of MultilineRecursiveToStringStyle ( #899 )
2022-05-26 16:56:40 -04:00
Arturo Bernal
8b7539432c
Fix javadoc. Remove unused @param.
2022-05-27 07:35:45 +12:00
Gary Gregory
fc1736edc4
Increase test coverage of ComparableUtils from 71% to 100% #898 .
2022-05-26 09:44:46 -04:00
Steve Bosman
f7c338b0fc
Increase test coverage of ComparableUtils from 71% to 100% ( #898 )
2022-05-26 09:43:02 -04:00
Gary Gregory
3a0ba3c6ea
Bump org.junit-pioneer:junit-pioneer from 1.7.0 to 1.7.1
2022-05-26 08:33:46 -04:00
Gary Gregory
1f6bd19af2
Bump maven-javadoc-plugin from 3.3.2 to 3.4.0
2022-05-26 08:28:14 -04:00
Gary Gregory
e68454ff61
Bump commons.jacoco.version from 0.8.7 to 0.8.8
2022-05-26 08:27:13 -04:00
Gary Gregory
f9439b5b9c
Add coverage.yml
2022-05-26 08:26:13 -04:00
Bruno P. Kinoshita
8c2284cb8f
Revert #896 ( #897 )
2022-05-22 07:23:14 -04:00
dependabot[bot]
90086a212d
Bump spotbugs-maven-plugin from 4.6.0.0 to 4.7.0.0
...
Bumps [spotbugs-maven-plugin](https://github.com/spotbugs/spotbugs-maven-plugin ) from 4.6.0.0 to 4.7.0.0.
- [Release notes](https://github.com/spotbugs/spotbugs-maven-plugin/releases )
- [Commits](https://github.com/spotbugs/spotbugs-maven-plugin/compare/spotbugs-maven-plugin-4.6.0.0...spotbugs-maven-plugin-4.7.0.0 )
---
updated-dependencies:
- dependency-name: com.github.spotbugs:spotbugs-maven-plugin
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-05-21 11:02:04 +12:00
Bruno P. Kinoshita
b9f3b72c15
Add Spotbugs exclusions after dependabot update (no code modification)
2022-05-21 10:51:28 +12:00
dependabot[bot]
8c10c03443
Bump spotbugs from 4.6.0 to 4.7.0
...
Bumps [spotbugs](https://github.com/spotbugs/spotbugs ) from 4.6.0 to 4.7.0.
- [Release notes](https://github.com/spotbugs/spotbugs/releases )
- [Changelog](https://github.com/spotbugs/spotbugs/blob/master/CHANGELOG.md )
- [Commits](https://github.com/spotbugs/spotbugs/compare/4.6.0...4.7.0 )
---
updated-dependencies:
- dependency-name: com.github.spotbugs:spotbugs
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-05-21 10:51:28 +12:00
Gary Gregory
9f1ac974e1
Add @SuppressWarnings("unchecked")
2022-05-15 18:11:47 -04:00
Gary Gregory
07f4eaaddd
Use IllegalArgumentException llke the reset of the method.
2022-05-15 17:01:59 -04:00
Gary Gregory
f813045283
[Spotbugs 4.7.0] More precise exception handling, don't throw
...
RuntimeException, use our own UncheckedException.
2022-05-15 16:21:49 -04:00
Gary Gregory
af157c49d5
Fix, lambda & in-line single use variable that cannot be null.
2022-05-15 16:01:00 -04:00
Gary Gregory
cbe3523b12
Remove prefix from instance variable names.
2022-05-15 15:54:49 -04:00
Gary Gregory
25e91c4242
Move new internal Calendar APIs to CalendarUtils and refactor.
2022-05-15 15:51:31 -04:00
Gary Gregory
eff43864b3
[LANG-1680] FastDateFormat does not support the 'L'-Pattern from
...
SimpleDateFormat.
- Use final.
- Fix typos.
- In-line single use local variables.
2022-05-15 15:22:50 -04:00
Steve Bosman
127869e88f
LANG-1680 Add support for standalone month formats ( #892 )
2022-05-15 15:13:41 -04:00
Gary Gregory
a2ed219fb8
Internal refactoring to allow to chain calls using
...
MemberUtils.setAccessibleWorkaround().
2022-05-10 18:35:20 -04:00
Gary Gregory
54f00795a3
Fix Javadoc.
2022-05-10 18:26:55 -04:00
Gary Gregory
663c806ee9
Fix Javadoc.
2022-05-10 16:29:07 -04:00
Gary Gregory
2a22770183
Remove unnecessary @SuppressWarnings("unchecked")
2022-05-09 08:47:38 -04:00
Gary Gregory
80889fc45c
Minor changes #769
2022-05-04 10:52:24 -04:00
Arturo Bernal
d5ff609743
* Inline var ( #769 )
...
* Simplify conditions
* Make final variable
2022-05-04 10:51:41 -04:00
Gary Gregory
4ef1e3db99
Add BooleanUtilsTest tests.
...
Add testXor_primitive_validInput_1items().
Add testXor_object_validInput_1items().
2022-05-04 10:40:10 -04:00
Gary Gregory
6fa0a17595
Bump net.sourceforge.pmd:* from 6.44.0 to 6.45.0
2022-05-02 09:44:34 -04:00
Gary Gregory
f146bf817a
Remove unnecessary variable creations. #882
2022-05-02 09:34:17 -04:00
Arturo Bernal
ba08d40beb
Remove unnecessary variable creations. ( #882 )
2022-05-02 09:33:50 -04:00
Gary Gregory
d5f43dce28
Make final mappingFunction variable. #876
2022-05-02 09:32:03 -04:00
Arturo Bernal
b58fb5bdc1
Make final mappingFunction variable. ( #876 )
2022-05-02 09:31:21 -04:00
Gary Gregory
e6dadcb49a
Fix Javadoc for Validate.isAssignableFrom()
2022-05-02 09:30:03 -04:00
Gary Gregory
69202d5f16
Merge branch 'master' of https://gitbox.apache.org/repos/asf/commons-lang.git
2022-05-02 09:28:26 -04:00
Gary Gregory
9bf6b2fb41
Make Validate.isAssignableFrom() check null inputs.
2022-05-02 09:28:15 -04:00
Gary Gregory
cd0a380f04
Bump github/codeql-action from 1 to 2 #886
2022-05-01 14:10:09 -04:00
dependabot[bot]
75a6aac07e
Bump junit-pioneer from 1.6.2 to 1.7.0
...
Bumps [junit-pioneer](https://github.com/junit-pioneer/junit-pioneer ) from 1.6.2 to 1.7.0.
- [Release notes](https://github.com/junit-pioneer/junit-pioneer/releases )
- [Commits](https://github.com/junit-pioneer/junit-pioneer/compare/v1.6.2...v1.7.0 )
---
updated-dependencies:
- dependency-name: org.junit-pioneer:junit-pioneer
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-04-16 13:06:54 +12:00
dependabot[bot]
b718d6a9d1
Bump commons-parent from 52 to 53
...
Bumps commons-parent from 52 to 53.
---
updated-dependencies:
- dependency-name: org.apache.commons:commons-parent
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-04-16 13:01:53 +12:00
Gary Gregory
0b51bc7bee
Bump actions/cache from 3 to 3.0.2
2022-04-12 08:43:41 -04:00
Gary Gregory
246a43cca5
Group some updates.
2022-04-12 08:43:22 -04:00
dependabot[bot]
dded8fd504
Bump actions/setup-java from 2 to 3
...
Bumps [actions/setup-java](https://github.com/actions/setup-java ) from 2 to 3.
- [Release notes](https://github.com/actions/setup-java/releases )
- [Commits](https://github.com/actions/setup-java/compare/v2...v3 )
---
updated-dependencies:
- dependency-name: actions/setup-java
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-04-09 09:39:02 +12:00
dependabot[bot]
82ec18a60a
Bump maven-surefire-plugin from 3.0.0-M5 to 3.0.0-M6
...
Bumps [maven-surefire-plugin](https://github.com/apache/maven-surefire ) from 3.0.0-M5 to 3.0.0-M6.
- [Release notes](https://github.com/apache/maven-surefire/releases )
- [Commits](https://github.com/apache/maven-surefire/compare/surefire-3.0.0-M5...surefire-3.0.0-M6 )
---
updated-dependencies:
- dependency-name: org.apache.maven.plugins:maven-surefire-plugin
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-04-09 09:37:28 +12:00
Sebb
704bd0119c
git-wip-us => gitbox
2022-04-05 11:37:32 +01:00
Gary Gregory
eb62fccc1c
No need to use the java.lang package name in Javadoc references.
2022-04-03 17:19:06 -04:00
Gary Gregory
9bb09244e6
Fomrat tweak.
2022-04-03 17:15:48 -04:00
Gary Gregory
b634633126
Checkstyle
2022-04-03 17:14:16 -04:00
Gary Gregory
517a9e0630
Fixed NPE getting Stack Trace if Throwable is null #733
...
Simplify.
2022-04-03 17:13:23 -04:00
Gary Gregory
85c70a450c
Fixed NPE getting Stack Trace if Throwable is null #733
2022-04-03 17:03:17 -04:00
Arturo Bernal
1926e35e3e
Fixed NPE getting Stack Trace if Throwable is null ( #733 )
2022-04-03 17:02:00 -04:00
Gary Gregory
454255f0bb
[LANG-1655] Fixed an issue where characters were separated in the NFD
...
system
Add but disable a test.
2022-04-03 14:44:11 -04:00
Gary Gregory
f714c84f95
[LANG-1675] Improve performance of StringUtils.join for primitives #812
2022-04-03 12:54:24 -04:00
Hubert
0f7d484882
LANG-1675 - Improve performance of StringUtils.join for primitives ( #812 )
...
* String.join - boolean - use StringBuilder
* Replaced StringJoiner by StringBuilder
* Fix: formatting, removed condition in for
* Use substring instead of deleteCharAt. Computed StringBuilder size for - char, boolean join methods
* Reformating
2022-04-03 12:52:56 -04:00
Gary Gregory
0d729dd729
Javadoc.
2022-04-03 11:07:45 -04:00
Gary Gregory
dd4e7bdc7c
Refactor commons code.
2022-04-03 10:57:59 -04:00
Gary Gregory
777590c82c
Use final.
2022-04-03 10:57:31 -04:00
Gary Gregory
7c60085179
Better lambda.
2022-04-03 10:57:04 -04:00
Gary Gregory
9abbb06376
Javadoc.
2022-04-03 10:54:34 -04:00
Gary Gregory
a64be9d8a8
Normalize spelling of summarizing.
2022-04-03 10:48:47 -04:00
Gary Gregory
4b5245dbce
Add @SuppressWarnings("unchecked")
2022-04-03 10:48:22 -04:00
Gary Gregory
efce331acd
Javadoc.
2022-04-03 10:42:12 -04:00
Gary Gregory
2e1affcebb
Bump exec-maven-plugin from 1.6.0 to 3.0.0 #590
2022-04-03 10:24:48 -04:00
Gary Gregory
4877259dad
[LANG-1679] Improve performance of StringUtils.unwrap(String,
...
String) #844
2022-04-03 10:22:16 -04:00
cloverandwang
944608b854
[LANG-1679] Improve performance of StringUtils.unwrap(String, String) ( #844 )
2022-04-03 10:20:34 -04:00
Gary Gregory
97e1f091af
Bump jmh.version from 1.34 to 1.35 #872
2022-04-03 10:12:00 -04:00
Gary Gregory
33e5a955d5
Bump commons.pmd-impl.version from 6.43.0 to 6.44.0 #873
2022-04-03 10:11:03 -04:00
Gary Gregory
4b9dfa2b1d
Fixing and adding DateUtils exception Javadocs #871
2022-03-27 08:32:04 -07:00
Diego Marcilio
75bb10331c
Fixing and adding DateUtils exception javadocs with new tests when needed ( #871 )
2022-03-27 08:24:33 -07:00
Gary Gregory
8b7dff9900
Updating javadoc for NullPointerException when Validate.notNull() is called #870 .
2022-03-26 10:45:59 -07:00
Diego Marcilio
d5fef1e784
Updating javadoc for NullPointerException when Validate.notNull() is called ( #870 )
2022-03-26 10:43:05 -07:00
dependabot[bot]
90e0a9bb23
Bump spotbugs-maven-plugin from 4.5.3.0 to 4.6.0.0
...
Bumps [spotbugs-maven-plugin](https://github.com/spotbugs/spotbugs-maven-plugin ) from 4.5.3.0 to 4.6.0.0.
- [Release notes](https://github.com/spotbugs/spotbugs-maven-plugin/releases )
- [Commits](https://github.com/spotbugs/spotbugs-maven-plugin/compare/spotbugs-maven-plugin-4.5.3.0...spotbugs-maven-plugin-4.6.0.0 )
---
updated-dependencies:
- dependency-name: com.github.spotbugs:spotbugs-maven-plugin
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-03-26 11:18:06 +13:00
Gary Gregory
54087ee109
Bump actions/cache from 2.1.7 to 3 #867
2022-03-25 08:48:58 -07:00
Gary Gregory
69533819a0
Fix Checkstyle issue.
2022-03-25 08:47:03 -07:00
Gary Gregory
2252fade50
Javadoc
2022-03-21 11:41:38 -04:00
Gary Gregory
8218767894
Add Consumers.
2022-03-21 11:38:20 -04:00
Gary Gregory
3e6255ec52
Fix Checkstyle.
2022-03-21 11:36:01 -04:00
Gary Gregory
0486d069b5
Fix Javadoc doclint WARNING messages on Java 17.
2022-03-21 10:55:13 -04:00
Gary Gregory
a9f9ba4fba
Bump SpotBugs to the current versions of Maven Plugin and underlying
...
tool.
- TODO Can any of these be done without breaking binary compatibility?
EI_EXPOSE_REP, EI_EXPOSE_REP2, MS_EXPOSE_REP,
REFLF_REFLECTION_MAY_INCREASE_ACCESSIBILITY_OF_FIELD.
- Equals and hashcode do not match up.
2022-03-21 10:36:56 -04:00
Gary Gregory
318cc6ec4d
Sort members.
2022-03-21 10:18:17 -04:00
Gary Gregory
e5910c7a03
Bump animal-sniffer-maven-plugin from 1.20 to 1.21.
2022-03-21 10:04:09 -04:00
Gary Gregory
9da59d6deb
Bump commons.japicmp.version 0.15.4 to 0.15.7
2022-03-21 10:01:52 -04:00
Gary Gregory
389fb37c56
Add Memoizer(Function) and Memoizer(Function, boolean).
2022-03-21 10:00:41 -04:00
Gary Gregory
85751a118e
Refactor to create the mapping function once.
...
Add FutureTasks.
2022-03-21 09:19:13 -04:00
Gary Gregory
00bccd85e5
Add TimeZones.toTimeZone(TimeZone).
2022-03-20 14:28:44 -04:00
Gary Gregory
3952780fd7
Adds TimeZones.toTimeZone().
2022-03-20 14:27:50 -04:00
Gary Gregory
30c9be6f6d
Better concurrency with the Java 8 API ConcurrentMap#computeIfAbsent().
2022-03-20 14:27:28 -04:00
Gary Gregory
f518bb6c6f
Better concurrency with the Java 8 API ConcurrentMap#computeIfAbsent().
2022-03-20 14:27:15 -04:00
Gary Gregory
9dd8584963
Better concurrency with the Java 8 API ConcurrentMap#computeIfAbsent().
2022-03-20 14:27:10 -04:00
Gary Gregory
5648bc42e2
Better concurrency with the Java 8 API ConcurrentMap#computeIfAbsent().
2022-03-20 14:06:39 -04:00
Gary Gregory
89bcc5f80e
Better concurrency with the Java 8 API ConcurrentMap#computeIfAbsent().
2022-03-20 14:06:23 -04:00
Gary Gregory
cb6676b1bb
Use Java 8 API ConcurrentMap#computeIfAbsent().
2022-03-20 13:49:09 -04:00
Gary Gregory
4a5ef835cc
Fix unintended commit.
2022-03-20 13:27:18 -04:00
Gary Gregory
033cd48313
Javadoc typo.
2022-03-20 13:25:59 -04:00
Gary Gregory
6dd2bce193
Remove extra whitespace.
2022-03-20 13:20:13 -04:00
Gary Gregory
9658994c9a
In-line only used once local variable.
2022-03-20 13:15:04 -04:00
Gary Gregory
3ac79227ed
Bump biz.aQute.bnd:biz.aQute.bndlib from 6.1.0 to 6.2.0
2022-03-11 09:42:44 -05:00
Gary Gregory
90e6dd6d4d
Bump org.junit-pioneer:junit-pioneer from 1.6.1 to 1.6.2
2022-03-11 09:36:10 -05:00
Gary Gregory
08f374f0d7
Javadoc.
...
More formal constant definition.
2022-03-10 12:40:37 -05:00
Gary Gregory
38285a15f5
Use ternary expression.
2022-03-08 10:30:39 -05:00
Gary Gregory
07b78ca38d
Better parameter name.
2022-03-08 10:25:58 -05:00
Gary Gregory
0013a996d2
Fix Checkstyle issue.
2022-03-07 15:49:24 -05:00
Gary Gregory
fb56d81ec2
Use genercis.
2022-03-07 15:38:34 -05:00
Gary Gregory
b4f25f3056
Unnecessary @SuppressWarnings.
2022-03-07 15:38:02 -05:00
Gary Gregory
7752a7b980
Remove unused exceptions from test method signatures.
2022-03-07 15:37:00 -05:00
Gary Gregory
b02dad440f
Unnecessary @SuppressWarnings("unchecked")
2022-03-07 15:36:13 -05:00
Gary Gregory
749062a6c0
Remove unused exceptions from test method signatures.
2022-03-07 15:36:03 -05:00
Gary Gregory
1230298044
Unnecessary @SuppressWarnings("unchecked")
2022-03-07 15:35:51 -05:00
Gary Gregory
faa24452b5
Use genercis.
2022-03-07 15:32:16 -05:00
Gary Gregory
22cd660c33
Remove unused exceptions from test method signatures.
2022-03-07 15:28:11 -05:00
Gary Gregory
9ebcddc0b1
Use try-with-resources.
2022-03-07 15:27:28 -05:00
Gary Gregory
e3e020fe2f
Unnecessary @SuppressWarnings("unchecked")
2022-03-07 15:24:15 -05:00
Gary Gregory
85a7f721cc
Unnecessary @SuppressWarnings("unchecked")
2022-03-07 15:21:18 -05:00
Gary Gregory
66d7e35866
Sort members.
2022-03-07 15:18:07 -05:00
Gary Gregory
c82d9a4809
[LANG-1462] Use TimeZone from calendar in DateFormatUtils.
...
Adapted from PR #863 by mbuiakova with:
- No SpotBugs failure
- Refactored common code
- Moved new test method to proper location in test class.
2022-03-07 15:11:28 -05:00
Gary Gregory
494dfc9e6b
Merge branch 'master' of
...
https://gitbox.apache.org/repos/asf/commons-lang.git
2022-03-07 11:18:47 -05:00
Gary Gregory
0babc7a071
Sort imports.
2022-03-07 11:17:25 -05:00
Gary Gregory
13121dafec
Deprecate Validate#notNull(Object) in favor of using
...
Objects#requireNonNull(Object, String).
Note that the NPE message are now specific in which parameter is null
instead of using a whole sentence to report what the exception class
says, and less US English-centric.
2022-03-07 11:16:32 -05:00
Gary Gregory
72ad3cbc1a
Add early null check.
2022-03-07 11:00:24 -05:00
Gary Gregory
5aa058c9d1
[LANG-1668] Update getMatchingMethod documentation. #862 .
2022-03-06 11:16:27 -05:00
Maria Buiakova
ccc12ff185
LANG-1668 Update getMatchingMethod documentation. ( #862 )
...
Adds a mention of IllegalStateException in case no unique method is found.
2022-03-06 11:14:06 -05:00
Gary Gregory
cd29ff7778
LANG-1172: Support dash as a delimiter in locales #766
2022-03-05 19:25:04 -05:00
Clemens Wolff
35fb9fca83
LANG-1172: Support dash as a delimiter in locales ( #766 )
...
* LANG-1172: Support dash as a delimiter in locales
* Extract constants for dash and underscore
* Prioritize old delimiter in comparison order
2022-03-05 19:21:25 -05:00
Gary Gregory
abb5a409f7
Bump commons.pmd-impl.version from 6.42.0 to 6.43.0 #861
2022-03-04 10:47:14 -05:00
Gary Gregory
96ccf8ba04
Bump actions/checkout from 2 to 3 #859
2022-03-04 10:18:23 -05:00
Gary Gregory
02f3bee7bc
Bump maven-pmd-plugin from 3.15.0 to 3.16.0 #858
2022-02-25 13:15:25 -05:00
Gary Gregory
c14d4876a4
Bump org.junit-pioneer:junit-pioneer from 1.5.0 to 1.6.1.
2022-02-24 06:57:18 -05:00
Gary Gregory
02200b8411
Bump maven-javadoc-plugin from 3.3.1 to 3.3.2.
2022-02-24 06:51:05 -05:00
Gary Gregory
2777d6784e
Add JavaVersion for Java 18 since a release candidate is available.
2022-02-24 06:48:59 -05:00
Gary Gregory
cd10cfd51f
Make DurationUtils#getNanosOfMiili() null-safe.
2022-02-24 06:33:25 -05:00
Gary Gregory
d7ff0ae5e5
Fix Javadoc.
2022-02-24 05:48:52 -05:00
Gary Gregory
4753c6b4d4
StrBuilder.StrBuilderReader.skip(long): Throw an exception when an
...
implicit narrowing conversion in a compound
assignment would result in information loss or a numeric error such as
an overflows.
2022-01-30 15:33:25 -05:00
Gary Gregory
1eba02e2a2
Throw an exception when an implicit narrowing conversion in a compound
...
assignment would result in information loss or a numeric error such as
an overflows.
2022-01-30 15:19:28 -05:00
Gary Gregory
0ffdcf31e7
Add missing Javadoc param tag.
2021-12-31 08:43:37 -05:00
Gary Gregory
5741f6ff19
Add missing Javadoc param tag.
2021-12-31 08:41:12 -05:00
Gary Gregory
85c8c28b3d
Avoid compiler warnings.
2021-12-31 08:39:27 -05:00
Gary Gregory
4defb74640
Avoid compiler warnings.
2021-12-31 08:36:22 -05:00
Gary Gregory
ade7ded8ff
Bump checkstyle from 9.2 to 9.2.1 #843 .
2021-12-29 14:43:58 -05:00
Gary Gregory
16d587d73c
Add support for detection of Aarch64.
...
- Add Processor.Type.AARCH_64.
- Add Processor.isAarch64().
- Update ArchUtils.getProcessor(String) for "aarch64".
2021-12-28 09:58:35 -05:00
Gary Gregory
5d8876279b
Bump jmh.version from 1.33 to 1.34 #842 .
2021-12-24 10:54:13 -05:00
Gary Gregory
ecf744f6c6
Fix typo.
2021-12-09 08:58:32 -05:00
Gary Gregory
0a5ac85312
Move Spotbugs plugin config files into a conf folder, decluttering the
...
root folder.
2021-12-09 08:57:26 -05:00
Gary Gregory
5def1c8d63
Add ArrayUtils.containsAny(Object[], Object...).
...
Primitive versions are TODOs.
2021-12-08 13:29:16 -05:00
Gary Gregory
4369537d8b
ArrayUtils.toPrimitive(Boolean...) null array elements map to false,
...
like Boolean.parseBoolean(null) and its callers return false.
This also happens to address issues with catching NPEs reported by
Spotbugs 4.5.1 .
2021-12-08 13:11:21 -05:00
Gary Gregory
d672dafa2e
In-line some single use local variables.
2021-12-08 10:11:58 -05:00
Gary Gregory
4e9ca082a6
More precise Javadoc.
2021-12-08 10:07:09 -05:00
Gary Gregory
8a23b406df
Bump animal-sniffer-maven-plugin from 1.19 to 1.20.
2021-12-08 09:55:01 -05:00
Gary Gregory
8c70fb4a3b
Bump maven-bundle-plugin from 5.1.1 to 5.1.2.
...
Pick up maven-bundle-plugin from parent.
2021-12-08 09:49:35 -05:00
Gary Gregory
29839c2717
Better description of Javadoc deprecation and add missing @deprecation
...
annotation at the package level.
2021-12-08 09:28:58 -05:00
Gary Gregory
a71bab967a
Simpler constant definitions.
2021-12-08 09:18:25 -05:00
Gary Gregory
bdaaeb5b1b
Reuse constant for immutable cases.
2021-12-08 08:56:40 -05:00
Gary Gregory
766a8daa99
Update Javadoc to match implementation details.
2021-12-08 08:28:05 -05:00
Gary Gregory
3ffa6698ba
Reuse factory method.
2021-12-08 08:24:59 -05:00
Gary Gregory
ae2ba9dfb9
Add constructors that require non-null inputs in
...
org.apache.commons.lang3.tuple.
- Add ImmutablePair.ofNonNull(L, R)
- Add ImmutableTriple.ofNonNull(L, M, R)
- Add MutablePair.ofNonNull(L, R)
- Add MutableTriple.ofNonNull(L, M, R)
- Add Pair.ofNonNull(L, R)
- Add Triple.ofNonNull(L, M, R)
2021-12-08 08:23:02 -05:00
Gary Gregory
656d2023dc
Javadoc.
2021-12-04 10:41:38 -05:00
Gary Gregory
ad1a8c937e
Remove unnecessary @SuppressWarnings("unchecked").
2021-12-04 10:39:24 -05:00
Gary Gregory
45d454b3e7
Fix NullPointerException in ThreadUtils.getSystemThreadGroup() when the
...
current thread is stopped.
2021-12-04 10:07:30 -05:00
Gary Gregory
49cfcc2c47
Better param names.
2021-12-04 10:02:28 -05:00
Gary Gregory
bf48d8a53c
Javadoc typos.
2021-12-04 09:58:57 -05:00
Gary Gregory
69941d96c4
Fix PMD: Avoid using a branching statement as the last in a loop.
2021-12-04 09:51:55 -05:00
Gary Gregory
972bf05ade
Refactor internals.
2021-12-04 09:15:17 -05:00
Gary Gregory
e6ae7561a0
Add Streams.instancesOf(Class, Collection).
2021-12-03 13:47:48 -05:00
Gary Gregory
b900dce200
Use final.
2021-11-30 22:32:16 -05:00
Gary Gregory
4e5e783159
Bump commons.japicmp.version 0.15.3 -> 0.15.4.
2021-11-30 21:03:39 -05:00
Gary Gregory
6e1c336675
Add FluentBitSet.
2021-11-30 16:11:27 -05:00
Gary Gregory
d3e4ebfb79
Bump pmd-java8 from 6.40.0 to 6.41.0 #837 .
2021-11-29 11:57:26 -05:00
Gary Gregory
42232e2ca0
Bump checkstyle from 9.1 to 9.2.
2021-11-29 11:47:38 -05:00