Gary Gregory
4d63091bdc
Reduce compiler warnings
2023-10-15 10:04:34 -04:00
Gary Gregory
3ed3ec85a3
Longer lines OK
2023-10-14 10:22:06 -04:00
Gary Gregory
712a0a8f7f
Format tweak
2023-10-14 10:21:46 -04:00
Gary Gregory
186478cde7
Format tweak
2023-10-14 10:21:35 -04:00
Gary Gregory
653f389322
Add Checkstyle MissingOverride
2023-10-14 09:52:45 -04:00
Gary Gregory
3ed3e993ed
Add missing @Override
2023-10-14 09:50:15 -04:00
Gary Gregory
fa6b940655
Add ConcurrentInitializer#isInitialized() #1120
2023-10-14 08:07:11 -04:00
Gary Gregory
8b6ccb8632
Add ConcurrentInitializer#isInitialized() #1120
2023-10-14 08:06:55 -04:00
Benjamin Confino
02132ee97b
Add method ConcurrentInitializer#isInitialized() ( #1120 )
...
* use NO_INIT to better handle initialize returning null
* add isInitialized method to all ConcurrentInitializer classes and test
* Update AtomicInitializer.java
* Update AtomicSafeInitializer.java
---------
Co-authored-by: Gary Gregory <garydgregory@users.noreply.github.com>
2023-10-14 08:00:56 -04:00
dependabot[bot]
77973e55a1
Bump github/codeql-action from 2.22.0 to 2.22.3 ( #1121 )
...
Bumps [github/codeql-action](https://github.com/github/codeql-action ) from 2.22.0 to 2.22.3.
- [Release notes](https://github.com/github/codeql-action/releases )
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md )
- [Commits](2cb752a87e...0116bc2df5
)
---
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-10-13 12:21:45 -04:00
dependabot[bot]
002e14b855
Bump ossf/scorecard-action from 2.2.0 to 2.3.0 ( #1122 )
...
Bumps [ossf/scorecard-action](https://github.com/ossf/scorecard-action ) from 2.2.0 to 2.3.0.
- [Release notes](https://github.com/ossf/scorecard-action/releases )
- [Changelog](https://github.com/ossf/scorecard-action/blob/main/RELEASE.md )
- [Commits](08b4669551...483ef80eb9
)
---
updated-dependencies:
- dependency-name: ossf/scorecard-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-10-13 12:21:31 -04:00
Gary Gregory
4afdad4f1a
Add Streams.failableStream(T...)
2023-10-13 10:59:10 -04:00
Gary Gregory
11d2deca1f
Refactor variable ConcurrentInitializer implementations to remove
...
duplication of initialize() method
2023-10-12 14:04:34 -04:00
Gary Gregory
c1bd1e50a9
Remove extra whitespace
2023-10-12 12:04:10 -04:00
Gary Gregory
8b34dab449
Add LazyInitializer.isInitialized()
2023-10-12 12:01:56 -04:00
Gary Gregory
bc4eeca21b
Fix description
2023-10-12 11:09:40 -04:00
Gary Gregory
152c7204a0
Fix XML
2023-10-12 11:09:07 -04:00
Gary Gregory
26becc120c
Javadoc
2023-10-12 09:25:48 -04:00
Gary Gregory
bc8a81eab0
Add LazyInitializer tests
2023-10-12 09:12:10 -04:00
Gary Gregory
a4fc02f69d
ConcurrentInitializer extends FailableSupplier<T, ConcurrentException>
2023-10-12 09:08:43 -04:00
Gary Gregory
74789683ee
Javadoc
2023-10-12 08:47:53 -04:00
Gary Gregory
c4d5e6f2c3
Normalize mvn invocation on GitHub
2023-10-11 07:46:36 -04:00
Gary Gregory
30dc88fd77
Make private static classes final
2023-10-10 21:22:24 -04:00
Gary Gregory
e0eb99198c
Bump commons-parent
2023-10-10 17:16:53 -04:00
Gary Gregory
d4ebf9abcc
Fix Checkstyle
...
[INFO] There are 4 errors reported by Checkstyle 10.12.4 with
src/site/resources/checkstyle/checkstyle.xml ruleset.
[ERROR] src\main\java\org\apache\commons\lang3\StringUtils.java:[1869,92]
(whitespace) WhitespaceAfter: '...' is not followed by whitespace.
[ERROR] src\main\java\org\apache\commons\lang3\time\FastDatePrinter.java:[1454,13]
(whitespace) WhitespaceAfter: 'switch' is not followed by whitespace.
[ERROR] src\test\java\org\apache\commons\lang3\time\FastDateFormatTest.java:[285,17]
(whitespace) WhitespaceAfter: 'synchronized' is not followed by
whitespace.
[ERROR] src\test\java\org\apache\commons\lang3\time\FastDateFormatTest.java:[292,17]
(whitespace) WhitespaceAfter: 'synchronized' is not followed by
whitespace.
2023-10-10 15:39:05 -04:00
Gary Gregory
8b5ce4070f
Use Checkstyle to validate import order
2023-10-09 10:34:39 -04:00
Gary Gregory
7be4557a8e
Fix ThresholdCircuitBreaker#checkState() #1100
2023-10-07 10:40:00 -04:00
yichinzhu
b55d278cce
Fix ThresholdCircuitBreaker ( #1100 )
...
* Fix ThresholdCircuitBreaker checkState bug
According to the document, checkState() should return `true` if the circuit breaker is currently closed。
* Update ThresholdCircuitBreakerTest.java
Fix threshold circuitbreaker unit test
2023-10-07 10:38:10 -04:00
Gary Gregory
e53d4c52d3
Javadoc
2023-10-07 10:35:19 -04:00
Gary Gregory
a9b25d0ba9
Fix spelling in Javadoc
2023-10-07 10:30:58 -04:00
Gary Gregory
db23b5fc90
Merge branch 'master' of https://gitbox.apache.org/repos/asf/commons-lang.git
2023-10-07 10:29:27 -04:00
Gary Gregory
1bd04d5bd4
Format tweak
...
Javadoc
2023-10-07 10:29:17 -04:00
dependabot[bot]
88779f23cf
Bump github/codeql-action from 2.21.9 to 2.22.0 ( #1118 )
...
Bumps [github/codeql-action](https://github.com/github/codeql-action ) from 2.21.9 to 2.22.0.
- [Release notes](https://github.com/github/codeql-action/releases )
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md )
- [Commits](ddccb87388...2cb752a87e
)
---
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-10-07 10:26:31 -04:00
Gary Gregory
ede98ffdb9
Return ToStringStyle.nullText instead of NPE for
...
ReflectionToStringBuilder.toString(Object) and friends.
2023-10-07 10:19:50 -04:00
Gary Gregory
8d116286d9
Typos
2023-10-07 09:24:55 -04:00
Gary Gregory
e2426182c8
Javadoc
2023-10-06 09:43:02 -04:00
Gary Gregory
0cb4e4cc97
Use final
2023-10-06 09:37:59 -04:00
Gary Gregory
422948794e
Javadoc
2023-10-06 09:37:35 -04:00
Gary Gregory
24744a40b2
Remove commons.releaseManagerName and commons.releaseManagerKey
2023-10-03 07:52:33 -04:00
Gary Gregory
58f4bc15cd
Update call deprecated in Java 9
2023-10-02 12:04:12 -04:00
Gary Gregory
3d7e9d964d
Add ObjectUtils.toString(Supplier<Object>, Supplier<String>)
2023-09-30 11:29:15 -04:00
dependabot[bot]
e0d4593dec
Bump actions/checkout from 4.0.0 to 4.1.0 ( #1116 )
...
Bumps [actions/checkout](https://github.com/actions/checkout ) from 4.0.0 to 4.1.0.
- [Release notes](https://github.com/actions/checkout/releases )
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md )
- [Commits](3df4ab11eb...8ade135a41
)
---
updated-dependencies:
- dependency-name: actions/checkout
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-09-29 13:16:31 -04:00
dependabot[bot]
25557a8a5e
Bump github/codeql-action from 2.21.8 to 2.21.9 ( #1115 )
...
Bumps [github/codeql-action](https://github.com/github/codeql-action ) from 2.21.8 to 2.21.9.
- [Release notes](https://github.com/github/codeql-action/releases )
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md )
- [Commits](6a28655e3d...ddccb87388
)
---
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-09-29 12:12:20 -04:00
dependabot[bot]
d45175d766
Bump actions/setup-java from 3.12.0 to 3.13.0 ( #1113 )
...
Bumps [actions/setup-java](https://github.com/actions/setup-java ) from 3.12.0 to 3.13.0.
- [Release notes](https://github.com/actions/setup-java/releases )
- [Commits](cd89f46ac9...0ab4596768
)
---
updated-dependencies:
- dependency-name: actions/setup-java
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-09-21 07:36:40 -04:00
dependabot[bot]
9b7cd147d2
Bump github/codeql-action from 2.21.7 to 2.21.8 ( #1112 )
...
Bumps [github/codeql-action](https://github.com/github/codeql-action ) from 2.21.7 to 2.21.8.
- [Release notes](https://github.com/github/codeql-action/releases )
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md )
- [Commits](04daf014b5...6a28655e3d
)
---
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-09-21 07:36:28 -04:00
Gary Gregory
fd6fbe280d
Return "null"" instead of NPE in
...
ClassLoaderUtils.toString(URLClassLoader)
Return "null"" instead of NPE in ClassLoaderUtils.toString(ClassLoader)
2023-09-20 09:59:16 -04:00
Gary Gregory
4ab7add381
In-line single use local
2023-09-20 09:16:04 -04:00
Gary Gregory
5571b9b464
Reuse Objects.toString()
2023-09-20 09:14:35 -04:00
Gary Gregory
d0f65ab0a4
Reuse Objects.toString()
2023-09-20 09:13:35 -04:00
dependabot[bot]
3c92ada999
Bump github/codeql-action from 2.21.5 to 2.21.7 ( #1111 )
...
Bumps [github/codeql-action](https://github.com/github/codeql-action ) from 2.21.5 to 2.21.7.
- [Release notes](https://github.com/github/codeql-action/releases )
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md )
- [Commits](00e563ead9...04daf014b5
)
---
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-09-15 11:46:56 -04:00