1
0
Commit Graph

1333 Commits

Author SHA1 Message Date
Gary Gregory
98e559141d Better local names 2023-11-19 09:41:32 -05:00
Gary Gregory
1f3ec507c4 No need to use a FQCN for String here 2023-11-19 09:39:24 -05:00
Gary Gregory
33af4b50dc Better comment and name 2023-11-19 09:38:27 -05:00
Gary Gregory
8ae9ca7740 Remove redundant final (PMD) 2023-11-19 09:38:16 -05:00
Gary Gregory
b7a456d06e Remove redundant final (PMD) 2023-11-19 09:36:19 -05:00
Gary Gregory
f03afeb1d9 Remove redundant final (PMD) 2023-11-19 09:35:18 -05:00
Gary Gregory
e13a4ff80f Remove unused exclusion 2023-11-19 09:32:59 -05:00
Gary Gregory
f1731619fd Update version 2023-11-19 09:26:17 -05:00
Gary Gregory
f0059b24d2 Use compact array declaration 2023-11-19 09:24:17 -05:00
Gary Gregory
9b69ba8a04 Adjust test assertions for previous commit 2023-11-19 09:24:05 -05:00
Gary Gregory
282408972e Remove obsolete option for PMD 2023-11-19 09:21:35 -05:00
Gary Gregory
23430edbb4 The parent POM defines JApiCmp instead of CLIRR 2023-11-19 09:15:59 -05:00
Gary Gregory
531aee566f Remove reference to SVN 2023-11-19 09:14:38 -05:00
Gary Gregory
8dad62f6e8 Point to Javadoc archives 2023-11-19 09:13:42 -05:00
Gary Gregory
c64aa18b34 Replace FindBugs with SpotBugs 2023-11-19 09:10:37 -05:00
Gary Gregory
26f8919953 Let Checkstyle use longer lines 2023-11-19 09:06:15 -05:00
Gary Gregory
2521602a8a Sort members 2023-11-19 09:02:31 -05:00
Gary Gregory
523fe7a6c5 Sort members 2023-11-19 09:02:18 -05:00
Gary Gregory
b10322e41e Use Checkstyle sortStaticImportsAlphabetically 2023-11-19 09:01:36 -05:00
Gary Gregory
0b9cd8bb83 Remove old comment 2023-11-19 08:55:21 -05:00
Gary Gregory
38f9e3dac8 Use HTTPS 2023-11-19 08:53:14 -05:00
Gary Gregory
cd210b5d9b Use HTTPS 2023-11-19 08:43:46 -05:00
Gary Gregory
d082a5dc2a Bump commons-parent from 59 to 64 2023-11-19 08:41:24 -05:00
Gary Gregory
159f30cb8b [LOGGING-185] Fix failing tests #180 2023-11-18 19:37:49 -05:00
Piotr P. Karwasz
6ad06e9074 LOGGING-185: Fix failing tests (#180)
* Fix names of deployed artifacts

We remove the obsolete `finalName` property and fix the Maven Failsafe
executions.

* Fix failing tests

* Reenable integration tests

* Disable SecurityManager tests on Java 21

* Simplify build workflow

* Set `fail-fast` to false

* Fix NPEs caused by `String.trim()`

* Span a different JVM per test case
2023-11-18 19:36:11 -05:00
dependabot[bot]
6edbb07301 Bump github/codeql-action from 2.22.5 to 2.22.7 (#179)
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 2.22.5 to 2.22.7.
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](74483a38d3...66b90a5db1)

---
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-11-17 08:36:40 -05:00
Gary Gregory
c5b3edd506 Javadoc 2023-11-11 16:15:49 -05:00
Gary Gregory
e94276a98b Merge branch 'master' of https://gitbox.apache.org/repos/asf/commons-logging.git 2023-11-05 09:31:49 -05:00
Gary Gregory
dd5be155fe Make package private class final 2023-11-05 09:31:38 -05:00
Gary Gregory
a3f9d2b3b8 Add support for Log4j API and SLF4J #177 2023-11-03 11:22:31 -04:00
Piotr P. Karwasz
946711e0a6 Add support for Log4j API and SLF4J (#177)
The logging backends supported by the default `LogFactoryImpl` have all
reached their end-of-life (except JUL and `SimpleLog`). Third-generation
logging backends, such as Log4j Core, support multiple logger contexts
per application and therefore can not be handled by the simplified
caching mechanism in `LogFactoryImpl`.

This PR introduces two new `LogFactory` implementations,
`Log4j2LogFactory` and `Slf4jLogFactory`, that forward messages to the
Log4j API and SLF4J.

During initialization the three existing factories are checked in the
following order:
 1. the `Log4j2LogFactory` has highest priority, since the Log4j API can
    faithfully transmit messages of type `Object`,
 2. the `Slf4jLogFactory` is the next choice. However, if the
    Log4j-to-SLF4J bridge is present we log directly through SLF4J
    instead of the Log4j API.
 3. the legacy `LogFactoryImpl` has lowest priority.
2023-11-03 11:19:14 -04:00
Gary Gregory
b7f50da2aa Normalize setter Javadoc 2023-10-31 07:10:27 -04:00
Gary Gregory
ba145fb114 Normalize getter Javadoc 2023-10-31 06:51:30 -04:00
Gary Gregory
28c175b8c8 Fix spelling 2023-10-31 06:27:13 -04:00
Gary Gregory
6167752d52 Normalize spelling to US English 2023-10-31 06:23:46 -04:00
Gary Gregory
830cebc584 Merge branch 'master' of https://gitbox.apache.org/repos/asf/commons-logging.git 2023-10-27 14:56:59 -04:00
Gary Gregory
f9bc48b201 Add self 2023-10-27 07:50:52 -04:00
Gary Gregory
aee706eadc Add comment 2023-10-27 07:00:19 -04:00
dependabot[bot]
7004a57880 Bump github/codeql-action from 2.22.3 to 2.22.5 (#176)
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 2.22.3 to 2.22.5.
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](0116bc2df5...74483a38d3)

---
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-27 06:58:41 -04:00
dependabot[bot]
174c3e78fc Bump ossf/scorecard-action from 2.3.0 to 2.3.1 (#175)
Bumps [ossf/scorecard-action](https://github.com/ossf/scorecard-action) from 2.3.0 to 2.3.1.
- [Release notes](https://github.com/ossf/scorecard-action/releases)
- [Changelog](https://github.com/ossf/scorecard-action/blob/main/RELEASE.md)
- [Commits](483ef80eb9...0864cf1902)

---
updated-dependencies:
- dependency-name: ossf/scorecard-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-27 06:58:29 -04:00
Gary Gregory
8dd3a59429 Fix Maven warning
[WARNING] Parameter 'headerFile' is unknown for plugin
'maven-checkstyle-plugin:3.2.2:check (default-cli)'
2023-10-26 11:58:35 -04:00
Sebb
0cb015a32e Pom is broken for the verify goal 2023-10-25 20:17:54 +01:00
Sebb
e4d68bb370 Standardise on verify goal 2023-10-25 16:57:18 +01:00
Gary Gregory
1b7fdcff53 Remove Subversion tags 2023-10-22 12:15:17 -04:00
Gary Gregory
cdb9ef5ce4 Remove unused parameter from private method 2023-10-22 07:50:59 -04:00
Gary Gregory
5cbd34c654 Format tweaks 2023-10-22 07:50:05 -04:00
Gary Gregory
34c37d6e7d Merge branch 'master' of https://gitbox.apache.org/repos/asf/commons-logging 2023-10-22 07:49:10 -04:00
Gary Gregory
23206cb098 Use Java 1.4 API 2023-10-22 07:48:38 -04:00
Sebb
f0ec0ab16a Fix up GHA badges 2023-10-21 17:17:58 +01:00
dependabot[bot]
643f350b9b Bump actions/checkout from 4.1.0 to 4.1.1 (#173)
Bumps [actions/checkout](https://github.com/actions/checkout) from 4.1.0 to 4.1.1.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](8ade135a41...b4ffde65f4)

---
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>
2023-10-20 07:12:25 -04:00