Commit Graph

7924 Commits

Author SHA1 Message Date
Gary Gregory 2ecc5c048c Javadoc 2024-05-02 15:42:20 -04:00
Gary Gregory ae5f518e56 Remove useless inline comment 2024-05-02 15:41:13 -04:00
Gary Gregory 966fbf05e2 Internal refactoring to move version splitting to JavaVersion 2024-05-02 15:39:52 -04:00
Gary Gregory 5f72c77386 Default values in new SystemProperties APIs are now Strings instead of
Suppliers
2024-05-02 15:23:04 -04:00
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 632c08534c Use SystemProperties in tests instead of magic string lookups 2024-05-01 14:02:29 -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
dependabot[bot] e8944ba1be
Bump actions/upload-artifact from 4.3.2 to 4.3.3 (#1207)
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 4.3.2 to 4.3.3.
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](1746f4ab65...65462800fd)

---
updated-dependencies:
- dependency-name: actions/upload-artifact
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-04-26 12:17:40 -04:00
dependabot[bot] 37934a8da0
Bump github/codeql-action from 3.25.1 to 3.25.3 (#1208)
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 3.25.1 to 3.25.3.
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](c7f9125735...d39d31e687)

---
updated-dependencies:
- dependency-name: github/codeql-action
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-04-26 12:16:33 -04:00
dependabot[bot] dcfab7eef3
Bump actions/checkout from 4.1.3 to 4.1.4 (#1206)
Bumps [actions/checkout](https://github.com/actions/checkout) from 4.1.3 to 4.1.4.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](1d96c772d1...0ad4b8fada)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-04-26 12:16:21 -04:00
Gary Gregory 36a05222f4
Use Java 8 on macos-13 2024-04-25 16:19:05 -04:00
Gary Gregory 7c99d624aa Javadoc 2024-04-25 08:40:06 -04:00
Gary Gregory 0e1314c6b8 Javadoc 2024-04-25 08:38:35 -04:00
Gary Gregory faa8037677 typo 2024-04-25 08:37:36 -04:00
Gary Gregory 8d1d28e1f2 Comment 2024-04-25 08:34:42 -04:00
Gary Gregory 3e0b97108a No need to qualify method in the same class
- PMD version: 7.0.0
2024-04-25 08:34:22 -04:00
Gary Gregory 0a9033b034 No need to qualify method in the same class
- PMD version: 7.0.0
2024-04-25 08:29:43 -04:00
Gary Gregory 0287bada77 Javadoc 2024-04-25 08:28:50 -04:00
Gary Gregory f7ed889405 No need to qualify method in the same class
- Javadoc
- PMD version: 7.0.0
2024-04-25 08:28:44 -04:00
Gary Gregory 2dd72023e4 Javadoc 2024-04-25 08:05:25 -04:00
Gary Gregory 056a2244e5 Try and avoid test failures on GitHub CI 2024-04-24 19:16:01 -04:00
Gary Gregory bd6a8c4227 Refactor magic string into an private constant 2024-04-24 19:13:43 -04:00
Gary Gregory dfe80aaca3 Camel-case package-private methods 2024-04-24 18:21:56 -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 bdff802a85 [LANG-1729] NumberUtils.isParsable() returns true for Fullwidth Unicode
digits

Refactor tests
2024-04-24 16:51:21 -04:00
Gary Gregory fff3db29be Try and avoid test failures on GitHub CI 2024-04-24 16:13:08 -04:00
Gary Gregory e4aba3f828 [LANG-1729] NumberUtils.isParsable() returns true for Fullwidth Unicode
digits

Add Byte test case
2024-04-24 16:03:13 -04:00
Gary Gregory aacc467954 [LANG-1729] NumberUtils.isParsable() returns true for Fullwidth Unicode
digits

Add Short test case
2024-04-24 16:01:39 -04:00
Gary Gregory af8575dd25 Test refactoring 2024-04-24 16:00:25 -04:00
Gary Gregory 96c211eb1b [LANG-1729] NumberUtils.isParsable() returns true for Fullwidth Unicode
digits

Add Long test case
2024-04-24 15:59:16 -04:00
Gary Gregory aad9a675b3 Remove Javadoc clutter
We don't need `@since` tags in Javadoc
2024-04-24 14:57:03 -04:00
Gary Gregory 79c66ae4e3 Try and avoid test failures on GitHub CI 2024-04-24 11:19:55 -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 abdcd5875b GitHub no longer supports Java 8 it seems 2024-04-24 09:58:07 -04:00
Gary Gregory 6508b0806b [LANG-1729] NumberUtils.isParsable() returns true for Fullwidth Unicode
digits

Add a disabled test that passes on Java 23-ea
2024-04-24 08:58:32 -04:00
Gary Gregory 33493ce224 Get char once in loop while parsing. 2024-04-24 08:54:20 -04:00
Gary Gregory 2694d9ac3c Test on Java 22 2024-04-22 17:47:17 -04:00
Gary Gregory ea129198f5 Test on Java 23-ea 2024-04-22 17:46:31 -04:00
Gary Gregory 1a7bad7cb9 Test on Java 22 and 23-ea 2024-04-22 17:43:56 -04:00
Gary Gregory 12fc854391 Java 22 and 23-ea 2024-04-22 17:40:45 -04:00
dependabot[bot] 6e363f7b44
Bump github/codeql-action from 3.24.10 to 3.25.1 (#1203)
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 3.24.10 to 3.25.1.
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](4355270be1...c7f9125735)

---
updated-dependencies:
- dependency-name: github/codeql-action
  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>
2024-04-19 11:55:22 -04:00
dependabot[bot] eb8da9344a
Bump actions/upload-artifact from 4.3.1 to 4.3.2 (#1204)
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 4.3.1 to 4.3.2.
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](5d5d22a312...1746f4ab65)

---
updated-dependencies:
- dependency-name: actions/upload-artifact
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-04-19 11:55:13 -04:00
dependabot[bot] 71e9c60ca6
Bump actions/checkout from 4.1.2 to 4.1.3 (#1202)
Bumps [actions/checkout](https://github.com/actions/checkout) from 4.1.2 to 4.1.3.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](9bb56186c3...1d96c772d1)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-04-19 11:55:04 -04:00
Gary Gregory 67336ab252 Sort members 2024-04-19 09:11:49 -04:00
Gary Gregory b19c82a7ce Javadoc
- No need to FQCN in link tag to the same package
- Use longer lines
2024-04-19 09:11:12 -04:00
Gary Gregory b850d804ac
StringUtils.stripAccents() should handle ligatures, UTF32 math blocks, etc. #1201 2024-04-19 08:55:06 -04:00