Stephan Schroevers
5a163ce2e9
[maven-release-plugin] prepare release v0.17.0
2024-07-20 14:15:43 +02:00
Picnic-DevPla-Bot
b5b98d899b
Upgrade OpenRewrite Templating 1.11.2 -> 1.12.0 ( #1252 )
...
See:
- https://github.com/openrewrite/rewrite-templating/releases/tag/v1.12.0
- https://github.com/openrewrite/rewrite-templating/compare/v1.11.2...v1.12.0
2024-07-20 14:00:07 +02:00
tijana-ninkovic
2e5d1f1e87
Extend FluxJust Refaster rule ( #1253 )
2024-07-20 12:57:45 +02:00
Vincent Koeman
4b1c892f04
Introduce MonoFromFutureSupplier{,Boolean} Refaster rules ( #1244 )
2024-07-20 12:44:37 +02:00
Picnic-Bot
a265a450f9
Upgrade AssertJ 3.25.3 -> 3.26.0 ( #1197 )
...
See:
- https://github.com/assertj/assertj/releases/tag/assertj-build-3.26.0
- https://github.com/assertj/assertj/compare/assertj-build-3.25.3...assertj-build-3.26.0
2024-07-17 16:14:56 +02:00
Stephan Schroevers
5fbb0636aa
Suppress new SonarCloud warning ( #1248 )
2024-07-15 09:53:49 +02:00
Mohamed Sameh
886e65d7ac
Introduce EnumReferenceEqualityLambda Refaster rule ( #1239 )
2024-07-14 14:00:18 +02:00
Stephan Schroevers
d81fe19836
Extend FluxConcatMap Refaster rule ( #1213 )
2024-06-10 15:34:16 +02:00
Stephan Schroevers
08dbb8c298
Upgrade Error Prone 2.26.1 -> 2.27.1 ( #1155 )
...
See:
- https://github.com/google/error-prone/releases/tag/v2.27.0
- https://github.com/google/error-prone/releases/tag/v2.27.1
- https://github.com/google/error-prone/compare/v2.26.1...v2.27.1
- https://github.com/PicnicSupermarket/error-prone/compare/v2.26.1-picnic-2...v2.27.1-picnic-1
2024-05-04 16:08:58 +02:00
Picnic-DevPla-Bot
e7bc0e113c
Upgrade Guava 33.1.0-jre -> 33.2.0-jre ( #1166 )
...
See:
- https://guava.dev/releases/33.2.0-jre/api/diffs/
- https://github.com/google/guava/releases/tag/v33.2.0
- https://github.com/google/guava/compare/v33.1.0...v33.2.0
2024-05-04 13:07:51 +02:00
Phil Werli
02fb6d468a
Introduce OptionalEmpty Refaster rule ( #1156 )
2024-04-30 10:09:46 +02:00
Stephan Schroevers
4558f8affb
Update FluxTake Refaster rule for Reactor 3.5.0+ ( #1128 )
2024-04-16 17:04:48 +02:00
Stephan Schroevers
769779cf21
Introduce Refaster rules that resolve EnumOrdinal violations ( #1104 )
2024-03-27 15:44:19 +01:00
Stephan Schroevers
281a003dd7
Introduce OptionalOrElse check ( #1024 )
...
While there, extend the `OptionalIdentity` Refaster rule to
automatically resolve one class of `NestedOptionals` violations.
2024-03-25 09:29:17 +01:00
Stephan Schroevers
f8cac19330
Compact and replace StreamIs{,Not}Empty Refaster rules ( #1028 )
...
The new `StreamFindAnyIs{Empty,Present}` rules are simpler thanks to the
use of `@AlsoNegation`. In some cases an additional application of the
`OptionalIsEmpty` rule will be required.
2024-03-22 08:23:18 +01:00
Rick Ossendrijver
df0eb9ee2f
Drop unused field in Slf4jLogStatementTest ( #1084 )
2024-03-17 10:49:53 +01:00
Stephan Schroevers
e3cda3ea49
[maven-release-plugin] prepare for next development iteration
2024-03-15 13:04:44 +01:00
Stephan Schroevers
8aec87b40e
[maven-release-plugin] prepare release v0.16.1
2024-03-15 13:04:44 +01:00
Stephan Schroevers
23ceb4aa6b
[maven-release-plugin] prepare for next development iteration
2024-03-12 08:24:08 +01:00
Stephan Schroevers
5cca9d23da
[maven-release-plugin] prepare release v0.16.0
2024-03-12 08:24:08 +01:00
Rick Ossendrijver
110ac01d10
Exempt picocli.CommandLine.Option#names arguments from reordering ( #1056 )
2024-03-04 11:49:24 +01:00
Dima Legeza
479ded388a
Introduce EmptyMonoZip check ( #733 )
2024-03-04 08:16:02 +01:00
Dirk van Bokkem
ded0a48258
Introduce FluxFromIterable Refaster rule ( #1047 )
2024-02-22 09:17:14 +01:00
Giovanni Zotta
8855ba33a0
Extend CollectionIsEmpty Refaster rule ( #1027 )
2024-02-15 08:42:15 +01:00
Stephan Schroevers
c2365c01c3
Introduce InputStream{Read,Skip}NBytes Refaster rules ( #993 )
2024-02-13 09:47:18 +01:00
Stephan Schroevers
433b8b90c0
Require JDK 17 rather than JDK 11 ( #603 )
...
By raising this baseline the project can now use Java 17 language features such
as text blocks, switch expressions and `instanceof` pattern matching. The code
has been updated to make use of these constructs.
Note that the project can still be used by builds that target an older version
of Java, as long as those builds are executed using JDK 17+.
2024-02-11 16:57:13 +01:00
Stephan Schroevers
1f50772433
[maven-release-plugin] prepare for next development iteration
2024-02-11 14:31:59 +01:00
Stephan Schroevers
382b79989c
[maven-release-plugin] prepare release v0.15.0
2024-02-11 14:31:59 +01:00
Stephan Schroevers
1cc792c615
Introduce ExhaustiveRefasterTypeMigration check ( #770 )
...
The new `@TypeMigration` annotation can be placed on Refaster rule
collections to indicate that they migrate most or all public methods of
an indicated type. The new check validates the claim made by the
annotation.
2024-02-11 12:42:39 +01:00
Benura Abeywardena
b5ace6e044
Introduce NewStringFromCharArray{,SubSequence} Refaster rules ( #1012 )
...
Resolves #1001 .
2024-02-11 12:10:10 +01:00
Giovanni Zotta
1f71ccccf7
Extend StreamIsEmpty Refaster rule ( #1025 )
2024-02-11 12:01:33 +01:00
Rick Ossendrijver
9a2a1915eb
Introduce error-prone-guidelines module ( #1002 )
...
And move all applicable checks to this new module.
2024-02-10 12:06:22 +01:00
Rick Ossendrijver
6195ede1f5
Introduce error-prone-experimental module ( #1003 )
...
And move the known-incomplete `MethodReferenceUsage` check to it.
2024-02-10 11:06:16 +01:00
Rick Ossendrijver
c771d5f6b9
Introduce error-prone-utils module ( #1000 )
...
By extracting the `tech.picnic.errorprone.bugpatterns.util` package into a new
Maven module (and renaming the package to `tech.picnic.errorprone.utils`), the
utility classes it contains will also become usable by other Maven modules.
2024-02-09 16:09:06 +01:00
Rick Ossendrijver
f66e513042
Update {,Non}StaticImport checks ( #992 )
...
Summary of changes:
- Disallow static import of `Mono` and `Flux` members.
- Allow static import of `empty` methods.
- Disallow static import of `Optional#empty`.
2024-02-09 13:03:56 +01:00
Vincent Koeman
07fe6df3af
Extend TimeRules Refaster rule collection ( #979 )
...
By introducing `SomeDateType{Plus,Minus}SomeUnit` Refaster rules, that suggest
e.g. `LocalDate#plusDays(long)` over more contrived alternatives.
2024-01-31 08:52:53 +01:00
Maxence Labusquiere
32d5c114c1
Have RequestMappingAnnotation recognize @CurrentSecurityContext parameters ( #1006 )
2024-01-30 14:54:44 +01:00
Stephan Schroevers
5f80fb5370
Have ErrorProneRuntimeClasspath ignore non-public types ( #972 )
2024-01-29 10:57:45 +01:00
Rick Ossendrijver
a926e5534c
Allow static imports of ZERO and ONE identifiers ( #996 )
2024-01-28 19:32:15 +01:00
Stephan Schroevers
e65e2ce730
Prevent ExplicitEnumOrdering from throwing an NPE ( #998 )
2024-01-28 13:25:04 +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
Stephan Schroevers
51317fbace
Introduce {Max,Min}ByNaturalOrder Refaster rules ( #970 )
2024-01-16 12:03:28 +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
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
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
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
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