Gary Gregory
8cacc3b338
Fix inline comments and sort members
...
Javadoc.
2022-07-05 19:37:14 -04:00
Gary Gregory
5f22e04514
[LANG-1662] Let ReflectionToStringBuilder only reflect given field
...
names #849
Applied PR and:
- Added missing @since tags to new public and protected methods and
fields
- Fixed Javadocs
- Reuse own ArrayUtils API for validation
- Move methods to AB order
2022-07-05 18:49:38 -04:00
Gary Gregory
57c17c42dd
Inline some single-use local variables.
2022-07-05 16:20:55 -04:00
Gary Gregory
dad064eebb
Add ArrayUtils.oneHot().
2022-07-05 14:11:54 -04:00
Gary Gregory
3c0ac0e87c
All tests should leave the ToStringStyle registry empty.
2022-07-05 13:32:18 -04:00
Gary Gregory
1b051c97f7
Whitespace, Javadoc, tests are public.
2022-07-05 13:13:42 -04:00
Gary Gregory
5b68ea3579
Rename test and extend base test.
2022-07-05 13:12:40 -04:00
Gary Gregory
c99cac3e3b
Remove single use locval variable
2022-07-05 12:55:25 -04:00
Gary Gregory
1bf7d7ec12
All tests should leave the ToStringStyle registry empty.
2022-07-05 12:46:01 -04:00
Gary Gregory
ae65d3b255
Javadoc and format nit
2022-07-05 12:10:08 -04:00
Gary Gregory
f0a65f3ba8
Javadoc
2022-07-05 12:09:53 -04:00
Gary Gregory
cbdb43f76a
Format nits
2022-07-05 10:56:59 -04:00
Gary Gregory
7269354272
Group entries together for "Add SystemUtils.IS_JAVA_*"
2022-07-05 10:30:28 -04:00
Gary Gregory
e5e8ba0906
Add SystemUtils.IS_JAVA_18
2022-07-05 10:29:51 -04:00
Gary Gregory
6001ae8a0c
Add SystemUtils.IS_JAVA_17
2022-07-05 10:25:46 -04:00
Gary Gregory
edbaebb4d1
Clean up inline comments
2022-07-05 10:16:48 -04:00
Gary Gregory
827f5c93df
Remove useless inline comments
2022-07-05 10:12:57 -04:00
Gary Gregory
28b11d15e7
Javadoc
2022-07-05 10:07:43 -04:00
Gary Gregory
2073de1450
Reuse our DateUtils#toCalendar(Date) API
2022-07-05 10:07:33 -04:00
Gary Gregory
5cd20a04a0
Internal refactoring around private modify() method
2022-07-05 09:49:33 -04:00
Gary Gregory
fa38030955
Use Objects#requireNonNull()
2022-07-05 09:44:44 -04:00
Gary Gregory
7ee27499f8
Better internal exception handling.
2022-07-05 09:04:55 -04:00
Gary Gregory
aae5a3522f
Use Objects#requireNonNull()
2022-07-05 09:00:04 -04:00
Gary Gregory
a588f7e693
Javadoc: StringUtils.repeat("", "x", 3) = "xx"; #918
2022-07-05 08:45:29 -04:00
guicaiyue
f099b4a5fc
docs: Annotation error StringUtils.repeat("", "x", 3) = "xx"; ( #918 )
2022-07-05 08:43:26 -04:00
Gary Gregory
386f6725bd
Add test for StringUtils.substringBetween to disprove PR #908 .
2022-07-05 08:40:38 -04:00
Gary Gregory
6672207ae1
Bump commons.pmd-impl.version from 6.46.0 to 6.47.0 #915
2022-07-05 08:36:39 -04:00
dependabot[bot]
e8e7afa19f
Bump commons.pmd-impl.version from 6.46.0 to 6.47.0 ( #915 )
...
Bumps `commons.pmd-impl.version` from 6.46.0 to 6.47.0.
Updates `pmd-core` from 6.46.0 to 6.47.0
- [Release notes](https://github.com/pmd/pmd/releases )
- [Changelog](https://github.com/pmd/pmd/blob/master/docs/render_release_notes.rb )
- [Commits](https://github.com/pmd/pmd/compare/pmd_releases/6.46.0...pmd_releases/6.47.0 )
Updates `pmd-java` from 6.46.0 to 6.47.0
- [Release notes](https://github.com/pmd/pmd/releases )
- [Changelog](https://github.com/pmd/pmd/blob/master/docs/render_release_notes.rb )
- [Commits](https://github.com/pmd/pmd/compare/pmd_releases/6.46.0...pmd_releases/6.47.0 )
Updates `pmd-javascript` from 6.46.0 to 6.47.0
- [Release notes](https://github.com/pmd/pmd/releases )
- [Changelog](https://github.com/pmd/pmd/blob/master/docs/render_release_notes.rb )
- [Commits](https://github.com/pmd/pmd/compare/pmd_releases/6.46.0...pmd_releases/6.47.0 )
Updates `pmd-jsp` from 6.46.0 to 6.47.0
- [Release notes](https://github.com/pmd/pmd/releases )
- [Changelog](https://github.com/pmd/pmd/blob/master/docs/render_release_notes.rb )
- [Commits](https://github.com/pmd/pmd/compare/pmd_releases/6.46.0...pmd_releases/6.47.0 )
---
updated-dependencies:
- dependency-name: net.sourceforge.pmd:pmd-core
dependency-type: direct:production
update-type: version-update:semver-minor
- dependency-name: net.sourceforge.pmd:pmd-java
dependency-type: direct:production
update-type: version-update:semver-minor
- dependency-name: net.sourceforge.pmd:pmd-javascript
dependency-type: direct:production
update-type: version-update:semver-minor
- dependency-name: net.sourceforge.pmd:pmd-jsp
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-07-05 08:35:15 -04:00
Gary Gregory
f29647a149
Add missing namespace and XSD to SpotBugs filter file.
2022-07-04 14:20:08 -04:00
Gary Gregory
9ee8c045e4
Extra whitespace
2022-07-02 09:36:11 -04:00
dependabot[bot]
092a328b6b
Bump spotbugs from 4.6.0 to 4.7.1
...
Bumps [spotbugs](https://github.com/spotbugs/spotbugs ) from 4.6.0 to 4.7.1.
- [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.1 )
---
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-07-02 10:25:29 +12:00
Gary Gregory
01c61f987b
Add SystemUtils.IS_OS_WINDOWS_11.
2022-06-27 10:15:57 -04:00
Bruno P. Kinoshita
1bad88dbc3
Merge branch 'pr-913'
...
This closes #913
2022-06-21 15:08:57 +12:00
shalk
b16b93fa5f
Remove duplicate asserts in StringUtilsTest.
2022-06-21 15:08:47 +12:00
Gary Gregory
2e71945163
Replace @code with @link for class references
2022-06-19 09:30:36 -04:00
Gary Gregory
911fbb9352
Add ExceptionUtils.getRootCauseStackTraceList(Throwable)
2022-06-18 13:41:40 -04:00
Gary Gregory
01f8edc18b
In-line some local vars
2022-06-18 13:27:48 -04:00
Gary Gregory
c6cfdc6149
Format tweaks
2022-06-18 13:26:13 -04:00
Gary Gregory
70b2250f80
Add ExceptionUtils.forEach(Throwable, Consumer<Throwable>)
...
Add ExceptionUtils.stream(Throwable).
2022-06-18 13:23:48 -04:00
Gary Gregory
7912894eb8
Sort members
2022-06-18 13:02:50 -04:00
Gary Gregory
df0296f7c2
Format tweaks
2022-06-16 10:28:47 -04:00
Gary Gregory
1967613528
Use final, remove redundant call to super(), use valueOf(), lambdas.
2022-06-15 15:25:10 -04:00
Gary Gregory
6cdaa83614
Close HTML tags
2022-06-14 14:21:42 -04:00
Gary Gregory
4aef230954
Foramtting.
2022-06-14 13:49:34 -04:00
Gary Gregory
8e687f1cf2
Use final
2022-06-14 08:58:07 -04:00
Gary Gregory
c18803a47f
Fix code duplication
2022-06-14 08:44:11 -04:00
Gary Gregory
dc8920206e
Close HTML tags
...
Remove useless inline comments.
2022-06-14 08:39:04 -04:00
Gary Gregory
dceed1be7f
Better way to deal with ignored exceptions and PMD checks.
...
Gets rid of output like:
<suppressedviolation
filename="...\src\main\java\org\apache\commons\lang3\reflect\MemberUtils.java"
suppressiontype="nopmd" msg="Avoid empty catch blocks" usermsg="
"></suppressedviolation>
2022-06-13 23:02:14 -04:00
Gary Gregory
bd7956949e
Merge branch 'master' of https://gitbox.apache.org/repos/asf/commons-lang.git
2022-06-13 20:40:22 -04:00
Gary Gregory
bdde0e1c13
Better way to deal with ignored exceptions and PMD checks.
...
Gets rid of output like:
<suppressedviolation
filename="...\src\main\java\org\apache\commons\lang3\reflect\MemberUtils.java"
suppressiontype="nopmd" msg="Avoid empty catch blocks" usermsg="
"></suppressedviolation>
2022-06-13 20:40:11 -04:00