Commit Graph

7252 Commits

Author SHA1 Message Date
Gary Gregory 30bdb1964a Javadoc 2023-07-23 14:32:40 -04:00
Gary Gregory 9c73c833d5 Javadoc 2023-07-23 14:31:28 -04:00
Gary Gregory 659192f1b5 Merge branch 'master' of https://gitbox.apache.org/repos/asf/commons-lang.git 2023-07-23 14:20:12 -04:00
Gary Gregory 72dd504e6f SystemUtils fix and updates related to macOS #1085 2023-07-23 14:20:03 -04:00
Ali Khaleqi Yekta 2c7dbba0f2
SystemUtils.java: Fix and updates related to macOS (#1085)
* Update SystemUtils.java

Fix version value assigned to macOS Big Sur

* Update SystemUtils.java

Add `IS_OS_MAC_OSX_MONTEREY` and `IS_OS_MAC_OSX_VENTURA`

* Update SystemUtils.java

---------

Co-authored-by: Gary Gregory <garydgregory@users.noreply.github.com>
2023-07-23 14:18:35 -04:00
Gary Gregory 4a233e989c final and whitespace 2023-07-23 08:52:29 -04:00
Gary Gregory 0b80d13297 Add test_LANG_1698 2023-07-23 08:46:01 -04:00
Gary Gregory 2d0379de9b Add test_LANG_1698 2023-07-23 08:44:24 -04:00
Gary Gregory 9b3107fd76 Add test_LANG_1698 2023-07-23 08:40:36 -04:00
Gary Gregory 6782d1daf8 Add test_LANG_1698 2023-07-23 08:24:33 -04:00
Gary Gregory c455ea2832 Javadoc 2023-07-22 21:43:04 -04:00
Gary Gregory e570d3df47 Javadoc 2023-07-22 21:42:45 -04:00
Gary Gregory b4e34819ff Javadoc 2023-07-22 21:42:10 -04:00
Gary Gregory eccbf98603 Normalize spelling 2023-07-22 16:19:42 -04:00
dependabot[bot] fbfcda9b62
Bump github/codeql-action from 2.20.4 to 2.21.0 (#1084)
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 2.20.4 to 2.21.0.
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](489225d82a...1813ca74c3)

---
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>
2023-07-21 12:01:10 -04:00
Gary Gregory c0a506c800 Add Lang1703Test 2023-07-21 10:11:29 -04:00
Gary Gregory 60b55f21b4 Normalize private instance variable names
Make some package-private private instance private
2023-07-16 16:58:29 -04:00
Gary Gregory a61aa64d53 Enforce invariants with Objects.requireNonNull() 2023-07-16 16:47:49 -04:00
Gary Gregory 85212f1738 Make it obvious that DurationFormatUtils.Token wraps non-null values
- Add Objects.requireNonNull() check
- Javadoc
2023-07-16 16:42:01 -04:00
Gary Gregory 514f6751ab Avoid NPE in MutableObject#equals() for null content 2023-07-16 16:34:20 -04:00
Gary Gregory 53bb929c8f Use Objects.equals() 2023-07-16 16:26:59 -04:00
dependabot[bot] 308896c651
Bump github/codeql-action from 2.20.3 to 2.20.4 (#1081)
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 2.20.3 to 2.20.4.
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](46ed16ded9...489225d82a)

---
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>
2023-07-14 13:06:25 -04:00
Gary Gregory bb8b77b233 Remove extra whitespace 2023-07-12 15:13:18 -04:00
Gary Gregory 2e3feda043 Throw IllegalArgumentException instead of InternalError in the builder
package
2023-07-12 08:44:38 -04:00
Gary Gregory adffa86469 Javadoc 2023-07-12 08:27:50 -04:00
Gary Gregory 49e084aa33 Better local var name 2023-07-12 08:25:01 -04:00
Gary Gregory 90666da627 Generics 2023-07-12 08:24:40 -04:00
Gary Gregory 9e39641099 Better test method names 2023-07-11 17:27:19 -04:00
Gary Gregory 69c4dddbde [LANG-1697] TypeUtils.getRawType() throws a NullPointerException on
Wildcard GenericArrayType
2023-07-11 17:21:11 -04:00
Gary Gregory 844ac9001b Remove trailing whitespace 2023-07-11 17:10:22 -04:00
Gary Gregory e589e2ba62 Sort members 2023-07-11 16:35:49 -04:00
Gary Gregory 61edac32f0 Javadoc 2023-07-10 16:56:06 -04:00
Gary Gregory 31d0cbbe3c Not needed, use IntUnaryOperator 2023-07-10 14:46:11 -04:00
Gary Gregory 120d3489aa Add IntToIntFunction 2023-07-10 07:56:18 -04:00
Gary Gregory accde3be23 Javdoc 2023-07-10 07:14:20 -04:00
dependabot[bot] 4e2782dde5
Bump github/codeql-action from 2.20.1 to 2.20.3 (#1080)
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 2.20.1 to 2.20.3.
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](f6e388ebf0...46ed16ded9)

---
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>
2023-07-07 12:08:15 -04:00
Gary Gregory 2275cca426 Add LockingVisitors.create(O, ReadWriteLock) 2023-07-07 08:06:55 -04:00
Gary Gregory f2f19ab4fd Javadoc & format tweaks 2023-07-06 13:34:59 -04:00
Gary Gregory 451f0bca8b Format tweak 2023-07-06 13:33:56 -04:00
Gary Gregory a3d07e2962 Add @SuppressWarnings("unchecked") 2023-07-06 13:33:40 -04:00
Gary Gregory 38f55010fb Javadoc & format tweaks 2023-07-06 13:25:40 -04:00
Gary Gregory 5478116bc1 Simplify Javadoc 2023-07-05 07:58:01 -04:00
Emmanuel Bourg f0e18ed004 Modify SystemUtilsTest.test_IS_JAVA() to automatically test all the versions supported 2023-07-05 11:03:28 +02:00
Emmanuel Bourg 28e54a3536 Modify JavaVersionTest.testGetJavaVersion() to automatically test all the versions supported 2023-07-05 10:46:18 +02:00
Emmanuel Bourg 1e523283ce Fix the IS_JAVA_21 test with Java 20 2023-07-05 10:29:55 +02:00
Emmanuel Bourg 471e8da597 Add JavaVersion.JAVA_19, JavaVersion.JAVA_20 and JavaVersion.JAVA_21 2023-07-05 09:42:40 +02:00
Emmanuel Bourg 71340db86f Add SystemUtils.IS_JAVA_21 2023-07-05 09:39:25 +02:00
Dimitrios Efthymiou f68a643ef9
--corrected the isUnchecked method to check for null (#1079)
--created test for null case
2023-07-03 06:58:45 -04:00
Gary Gregory 6ea4e39087 Add tests for custom Throwable subclass 2023-07-02 20:19:07 -04:00
Gary Gregory bbf5714b5a Deprecate ExceptionUtils.ExceptionUtils() 2023-07-02 17:11:14 -04:00