Stephan Schroevers
dfdd8aeb57
Introduce Qodana analysis
...
Local run:
- Get the token: https://qodana.cloud/organizations/pW0Je/teams/3X0Qq
- Run the Docker image: https://www.jetbrains.com/help/qodana/qodana-jvm-community.html#docker-image-tab
2024-01-26 20:07:51 +01:00
Stephan Schroevers
aa1cfd9071
Publish Error Prone compatibility matrix on website ( #938 )
...
The new `website/generate-version-compatibility-overview.sh` script
tests all combinations, and stores the result in a Jekyll data file.
Resolves #724 .
2024-01-22 10:53:31 +01:00
Stephan Schroevers
0aa612073f
Introduce additional Reactor Refaster rules ( #969 )
...
In various contexts, suggest more efficient and/or less verbose
constructs.
2024-01-21 13:36:06 +01:00
Picnic-Bot
9e6d35569f
Upgrade Truth 1.2.0 -> 1.3.0 ( #983 )
...
See:
- https://github.com/google/truth/releases/tag/v1.3.0
- https://github.com/google/truth/compare/v1.2.0...v1.3.0
2024-01-20 13:34:08 +01:00
Stephan Schroevers
dc65917ef1
Avoid NPE in IsEmpty matcher ( #978 )
2024-01-20 12:34:50 +01:00
Picnic-Bot
f12474e8e6
Upgrade actions/upload-artifact v4.1.0 -> v4.2.0 ( #982 )
...
See:
- https://github.com/actions/upload-artifact/releases/tag/v4.2.0
2024-01-20 10:42:45 +01:00
Picnic-Bot
8f152b1135
Upgrade OpenRewrite Templating 1.4.2 -> 1.4.3 ( #981 )
...
See:
- https://github.com/openrewrite/rewrite-templating/releases/tag/v1.4.3
- https://github.com/openrewrite/rewrite-templating/compare/v1.4.2...v1.4.3
2024-01-18 10:19:06 +01:00
Picnic-Bot
b88fc8e542
Upgrade OpenRewrite 2.6.1 -> 2.6.2 ( #980 )
...
See:
- https://github.com/openrewrite/rewrite-recipe-bom/releases/tag/v2.6.2
- https://github.com/openrewrite/rewrite-recipe-bom/compare/v2.6.1...v2.6.2
2024-01-18 09:48:07 +01:00
Picnic-Bot
8f2ac01ac8
Upgrade OpenRewrite 2.5.4 -> 2.6.1 ( #961 )
...
See:
- https://github.com/openrewrite/rewrite-recipe-bom/releases/tag/v2.6.0
- https://github.com/openrewrite/rewrite-recipe-bom/releases/tag/v2.6.1
- https://github.com/openrewrite/rewrite-recipe-bom/compare/v2.5.4...v2.6.1
2024-01-16 14:08:32 +01:00
Stephan Schroevers
51317fbace
Introduce {Max,Min}ByNaturalOrder Refaster rules ( #970 )
2024-01-16 12:03:28 +01:00
Picnic-Bot
e48492628e
Upgrade fmt-maven-plugin 2.21.1 -> 2.22 ( #968 )
...
See:
- https://github.com/spotify/fmt-maven-plugin/releases/tag/2.22.0
- https://github.com/spotify/fmt-maven-plugin/compare/2.21.1...2.22.0
2024-01-15 11:10:16 +01:00
Picnic-Bot
b2552e6feb
Upgrade Mockito 5.8.0 -> 5.9.0 ( #977 )
...
See:
- https://github.com/mockito/mockito/releases/tag/v5.9.0
- https://github.com/mockito/mockito/compare/v5.8.0...v5.9.0
2024-01-15 08:53:09 +01:00
Picnic-Bot
0c2180b151
Upgrade NullAway 0.10.19 -> 0.10.21 ( #975 )
...
See:
- https://github.com/uber/NullAway/blob/master/CHANGELOG.md
- https://github.com/uber/NullAway/releases/tag/v0.10.20
- https://github.com/uber/NullAway/releases/tag/v0.10.21
- https://github.com/uber/NullAway/compare/v0.10.19...v0.10.21
2024-01-15 07:30:32 +01:00
Picnic-Bot
b404737433
Upgrade actions/upload-artifact v4.0.0 -> v4.1.0 ( #967 )
...
See:
- https://github.com/actions/upload-artifact/releases/tag/v4.1.0
2024-01-15 07:12:20 +01:00
Picnic-Bot
54bba95ffa
Upgrade actions/deploy-pages v4.0.2 -> v4.0.3 ( #966 )
...
See:
- https://github.com/actions/deploy-pages/releases/tag/v4.0.3
- https://github.com/actions/deploy-pages/compare/v4.0.2...v4.0.3
2024-01-14 21:13:07 +01:00
Stephan Schroevers
6222bcb0d4
Introduce additional Multimap Refaster rules ( #971 )
2024-01-14 19:28:54 +01:00
Stephan Schroevers
641bb5c566
Introduce InputStreamRules Refaster rule collection ( #963 )
2024-01-14 19:21:42 +01:00
Stephan Schroevers
09317abb18
Fix the mutation test setup ( #976 )
...
This largely reverts commit dff67fecbc ,
avoiding the issue described in pitest/pitest-junit5-plugin#105 .
2024-01-14 19:04:57 +01:00
Stephan Schroevers
dff67fecbc
Drop unnecessary dependency declarations ( #973 )
2024-01-13 20:53:00 +01:00
Stephan Schroevers
d126336742
Drop workaround for resolved Refaster bug ( #974 )
...
Issue google/error-prone#2456 was fixed in Error Prone 2.22.0.
2024-01-13 20:43:01 +01:00
Stephan Schroevers
b8eabff9bc
Run org.kordamp.maven:pomchecker-maven-plugin:1.10.0:check-maven-central ( #491 )
...
This new Maven goal validates that the `pom.xml` files meet the criteria
for being deployed to Maven Central.
2024-01-13 17:34:26 +01:00
Stephan Schroevers
0b04e0fb3f
Build with Maven 3.9.6 ( #964 )
...
Using the `setup-maven-action` GitHub action we can both simplify the
build configuration and configure the version of Maven to use.
See https://github.com/s4u/setup-maven-action
2024-01-13 17:17:01 +01:00
Stephan Schroevers
14506ed392
Introduce RefasterMethodParameterOrder check ( #775 )
...
While there, simplify some `EqualityRules` Refaster rules, as a suggested
parameter order change highlighted that they could be collapsed.
2024-01-13 16:13:00 +01:00
Picnic-Bot
664adb4aa4
Upgrade org.openrewrite:rewrite-templating 1.3.14 -> 1.4.2 ( #962 )
...
Upgrade OpenRewrite Templating 1.3.14 -> 1.4.2 (#962 )
See:
- https://github.com/openrewrite/rewrite-templating/releases/tag/v1.4.0
- https://github.com/openrewrite/rewrite-templating/releases/tag/v1.4.1
- https://github.com/openrewrite/rewrite-templating/releases/tag/v1.4.2
- https://github.com/openrewrite/rewrite-templating/compare/v1.3.14...v1.4.2
2024-01-13 15:53:09 +01:00
Stephan Schroevers
f35d62061d
Work around IntelliJ IDEA bug IDEA-342187 ( #958 )
...
This reverts some of the changes in
3578a8cbec .
See https://youtrack.jetbrains.com/issue/IDEA-342187
2024-01-13 15:06:27 +01:00
Picnic-Bot
a89f986763
Upgrade SLF4J 2.0.10 -> 2.0.11 ( #957 )
...
See:
- https://www.slf4j.org/news.html
- https://github.com/qos-ch/slf4j/compare/v_2.0.10...v_2.0.11
2024-01-12 10:59:49 +01:00
Picnic-Bot
6ad94b5c29
Upgrade Surefire 3.2.3 -> 3.2.5 ( #960 )
...
See:
- https://github.com/apache/maven-surefire/releases/tag/surefire-3.2.5
- https://github.com/apache/maven-surefire/compare/surefire-3.2.3...surefire-3.2.5
2024-01-11 12:55:11 +01:00
Picnic-Bot
63fe19b487
Upgrade Project Reactor 2023.0.1 -> 2023.0.2 ( #959 )
...
See:
- https://github.com/reactor/reactor/releases/tag/2023.0.2
- https://github.com/reactor/reactor/compare/2023.0.1...2023.0.2
2024-01-11 08:40:49 +01:00
Stephan Schroevers
fbd9b0689c
Make BugPattern{,Test}Extractor tests more maintainable ( #937 )
...
As we're moving to a Java-based website generator located in the same
package as the `Extractor` implementations, there is no need to validate
the exact format of generated files; only that the data can be
deserialized again.
While there, track the source file from which data is extracted.
2024-01-10 13:40:37 +01:00
Stephan Schroevers
c7a288cf29
Update year to 2024 in footer_custom.html and LICENSE.md ( #955 )
2024-01-09 09:06:03 +01:00
Rick Ossendrijver
931632d90b
Show original Cody in README and on website home page ( #956 )
...
This reverts commit 7529b99251 .
2024-01-09 08:51:27 +01:00
Phil Werli
71de432645
Extend OptionalIdentity Refaster rule ( #951 )
...
By flagging expressions of the form `optional.or(() -> Optional.empty())` and
`optional.or(Optional::empty)`.
2024-01-08 09:08:20 +01:00
Picnic-Bot
97a4cb0227
Upgrade errorprone-slf4j 0.1.21 -> 0.1.22 ( #953 )
...
See:
- https://github.com/KengoTODA/errorprone-slf4j/releases/tag/v0.1.22
- https://github.com/KengoTODA/errorprone-slf4j/compare/v0.1.21...v0.1.22
2024-01-06 14:12:07 +01:00
Picnic-Bot
6b1cb4c2e9
Upgrade Google Java Format 1.19.1 -> 1.19.2 ( #952 )
...
See:
- https://github.com/google/google-java-format/releases/tag/v1.19.2
- https://github.com/google/google-java-format/compare/v1.19.1...v1.19.2
2024-01-06 13:56:10 +01:00
Picnic-Bot
e0cb7eb1f9
Upgrade Error Prone 2.24.0 -> 2.24.1 ( #950 )
...
See:
- https://github.com/google/error-prone/releases/tag/v2.24.1
- https://github.com/google/error-prone/compare/v2.24.0...v2.24.1
- https://github.com/PicnicSupermarket/error-prone/compare/v2.24.0-picnic-1...v2.24.1-picnic-1
2024-01-05 23:26:17 +01:00
Tim te Beek
a2f44f82f2
Derive OpenRewrite recipes from a subset of Refaster rules ( #925 )
...
Using OpenRewrite's `rewrite-templating` annotation processor, Refaster rules
are now converted into matching recipes and bundled as part of the
`error-prone-contrib` artifact. Note that not all rules are supported yet.
2024-01-05 21:59:22 +01:00
Picnic-Bot
0ec8ebe8ab
Upgrade AssertJ 3.25.0 -> 3.25.1 ( #949 )
...
See:
- https://github.com/assertj/assertj/releases/tag/assertj-build-3.25.1
- https://github.com/assertj/assertj/compare/assertj-build-3.25.0...assertj-build-3.25.1
2024-01-03 11:06:47 +01:00
Stephan Schroevers
e1be5d23e9
Prevent likely static import class with FailWithMessage{,AndThrowable} Refaster rules ( #939 )
...
This is a workaround for google/error-prone#3584 . While there, drop an
unused method from `JUnitToAssertJRules`.
2024-01-02 11:04:38 +01:00
Picnic-Bot
12f2feaacf
Upgrade CodeQL v2.22.8 -> v3.22.12 ( #948 )
...
See:
- https://github.com/github/codeql-action/blob/main/CHANGELOG.md
- https://github.com/github/codeql-action/compare/v3.22.11...v3.22.12
- https://github.com/github/codeql-action/compare/v2.22.12...v3.22.11
- https://github.com/github/codeql-action/compare/v2.22.11...v2.22.12
- https://github.com/github/codeql-action/compare/v2.22.10...v2.22.11
- https://github.com/github/codeql-action/compare/v2.22.9...v2.22.10
- https://github.com/github/codeql-action/compare/v2.22.8...v2.22.9
- https://github.com/github/codeql-action/compare/v2.22.8...v3.22.12
2024-01-02 08:01:36 +01:00
Picnic-Bot
423a306719
Upgrade TestNG 7.8.0 -> 7.9.0 ( #942 )
...
See:
- https://github.com/testng-team/testng/releases/tag/7.9.0
- https://github.com/testng-team/testng/compare/7.8.0...7.9.0
2024-01-01 20:13:44 +01:00
Picnic-Bot
b5327f2e97
Upgrade NullAway 0.10.18 -> 0.10.19 ( #941 )
...
See:
- https://github.com/uber/NullAway/blob/master/CHANGELOG.md
- https://github.com/uber/NullAway/releases/tag/v0.10.19
- https://github.com/uber/NullAway/compare/v0.10.18...v0.10.19
2024-01-01 20:02:32 +01:00
Picnic-Bot
059e1dbbe7
Upgrade ruby/setup-ruby v1.161.0 -> v1.165.1 ( #947 )
...
See:
- https://github.com/ruby/setup-ruby/releases/tag/v1.165.1
- https://github.com/ruby/setup-ruby/releases/tag/v1.165.0
- https://github.com/ruby/setup-ruby/releases/tag/v1.164.0
- https://github.com/ruby/setup-ruby/releases/tag/v1.163.0
- https://github.com/ruby/setup-ruby/releases/tag/v1.162.0
2024-01-01 17:00:29 +01:00
Picnic-Bot
cef7f3409f
Upgrade Checkstyle 10.12.6 -> 10.12.7 ( #944 )
...
See:
- https://checkstyle.sourceforge.io/releasenotes.html
- https://github.com/checkstyle/checkstyle/releases/tag/checkstyle-10.12.7
- https://github.com/checkstyle/checkstyle/compare/checkstyle-10.12.6...checkstyle-10.12.7
2024-01-01 16:39:07 +01:00
Picnic-Bot
82bcb405c3
Upgrade AssertJ 3.24.2 -> 3.25.0 ( #946 )
...
See:
- https://github.com/assertj/assertj/releases/tag/assertj-build-3.25.0
- https://github.com/assertj/assertj/compare/assertj-build-3.24.2...assertj-build-3.25.0
2024-01-01 16:22:11 +01:00
Stephan Schroevers
0440df8911
Have ThrowsCheckedException also consider supertypes ( #914 )
...
This prevents the `MonoFromSupplier` Refaster rule from suggesting
noncompilable code.
2024-01-01 12:26:43 +01:00
Picnic-Bot
25eaf11171
Upgrade SLF4J 2.0.9 -> 2.0.10 ( #943 )
...
See:
- https://www.slf4j.org/news.html
- https://github.com/qos-ch/slf4j/compare/v_2.0.9...v_2.0.10
2023-12-31 14:26:29 +01:00
Picnic-Bot
3578a8cbec
Upgrade maven-compiler-plugin 3.10.1 -> 3.12.1 ( #515 )
...
See:
- https://github.com/apache/maven-compiler-plugin/releases/tag/maven-compiler-plugin-3.11.0
- https://github.com/apache/maven-compiler-plugin/releases/tag/maven-compiler-plugin-3.12.0
- https://github.com/apache/maven-compiler-plugin/releases/tag/maven-compiler-plugin-3.12.1
- https://github.com/apache/maven-compiler-plugin/compare/maven-compiler-plugin-3.10.1...maven-compiler-plugin-3.12.1
2023-12-26 12:04:50 +01:00
Picnic-Bot
4e1158d4df
Upgrade Jackson 2.16.0 -> 2.16.1 ( #940 )
...
See:
- https://github.com/FasterXML/jackson/wiki/Jackson-Release-2.16.1
- https://github.com/FasterXML/jackson-bom/compare/jackson-bom-2.16.0...jackson-bom-2.16.1
2023-12-25 13:00:59 +01:00
Stephan Schroevers
0109632b70
Update Error Prone -XepExcludedPaths flag to be Windows-compatible ( #927 )
...
Prior to these changes the provided pattern would never match on
Windows, as Error Prone matches against file URIs, which in practice
will always contain forward slashes, even on Windows.
2023-12-24 18:52:42 +01:00
Picnic-Bot
1650b6b00d
Upgrade actions/deploy-pages v4.0.0 -> v4.0.2 ( #936 )
...
See:
- https://github.com/actions/deploy-pages/releases/tag/v4.0.2
- https://github.com/actions/deploy-pages/releases/tag/v4.0.1
2023-12-24 16:38:51 +01:00