Stephan Schroevers
fc2eb57b40
[maven-release-plugin] prepare for next development iteration
2025-04-14 11:36:15 +02:00
Stephan Schroevers
1c429f0d1c
[maven-release-plugin] prepare release v0.22.0
2025-04-14 11:36:15 +02:00
Stephan Schroevers
aa988ef2b0
Run NullAway in JSpecify mode ( #1608 )
2025-04-14 09:42:16 +02:00
Stephan Schroevers
4a0bc0c210
[maven-release-plugin] prepare for next development iteration
2025-03-24 11:41:07 +01:00
Stephan Schroevers
53152499d6
[maven-release-plugin] prepare release v0.21.0
2025-03-24 11:41:07 +01:00
Picnic-DevPla-Bot
726db5ce5b
Upgrade Error Prone 2.36.0 -> 2.37.0 ( #1601 )
...
Resolves #1597 .
See:
- https://github.com/google/error-prone/releases/tag/v2.37.0
- https://github.com/google/error-prone/compare/v2.36.0...v2.37.0
- https://github.com/PicnicSupermarket/error-prone/compare/v2.36.0-picnic-4...v2.37.0-picnic-1
2025-03-21 09:47:13 +01:00
Stephan Schroevers
e572a3641d
[maven-release-plugin] prepare for next development iteration
2025-02-02 13:19:40 +01:00
Stephan Schroevers
2b467832fb
[maven-release-plugin] prepare release v0.20.0
2025-02-02 13:19:40 +01:00
Stephan Schroevers
a42353b41a
Introduce EagerStringFormatting check ( #1139 )
...
This new check flags code that can be simplified and/or optimized by
deferring certain string formatting operations.
2025-01-11 14:42:22 +01:00
Stephan Schroevers
7b81dc44e5
Upgrade Error Prone fork 2.36.0-picnic-1 -> 2.36.0-picnic-2 ( #1499 )
...
This new release is published using GitHub Packages rather than
JitPack. This comes with a simpler release setup and a (hopefully) more
stable package repository. A minor downside is that GitHub Packages
require authenticated access, even for read access. The documentation
has been updated accordingly.
The new release is no longer published using a custom groupId, enabling
some build simplifications.
While there, some obsolete fork-related documentation and configuration
is dropped.
See:
- https://github.com/PicnicSupermarket/error-prone/releases/tag/v2.36.0-picnic-2
- https://github.com/PicnicSupermarket/error-prone/compare/v2.36.0-picnic-1...v2.36.0-picnic-2
2025-01-10 16:40:59 +01:00
Stephan Schroevers
d316e8ac70
Improve JUnitMethodDeclaration method rename heuristics ( #1476 )
...
These changes make it less likely that the check suggests a method
rename that would yield invalid code.
2024-12-23 09:17:45 +01:00
Stephan Schroevers
db18d6a1fc
Drop the JavaKeywords class ( #1442 )
...
Instead:
- Move its sole used method `#isValidIdentifier` to the `SourceCode`
class.
- Delegate most of said method's implementation to
`javax.lang.model.SourceVersion`.
2024-12-09 09:26:56 +01:00
Stephan Schroevers
fc9c20062a
Introduce RedundantStringEscape check ( #1138 )
...
This check aims to simplify string constants by dropping redundant
single quote escape sequences. The check is optimized for performance.
While there, update existing checks such that they do not introduce
violations of the type flagged by this new check.
2024-11-18 20:33:08 +01:00
Stephan Schroevers
3cacd27248
[maven-release-plugin] prepare for next development iteration
2024-11-03 16:58:19 +01:00
Stephan Schroevers
f06a2e4d43
[maven-release-plugin] prepare release v0.19.1
2024-11-03 16:58:19 +01:00
Stephan Schroevers
eccfc34c78
[maven-release-plugin] prepare for next development iteration
2024-10-31 20:57:03 +01:00
Stephan Schroevers
0317cb73d6
[maven-release-plugin] prepare release v0.19.0
2024-10-31 20:57:03 +01:00
Mohamed Sameh
2b1dbd98cd
Introduce Slf4jLoggerDeclaration check ( #783 )
2024-10-28 12:37:10 +01:00
Mohamed Sameh
21437a43aa
Introduce ConstantNaming check ( #794 )
...
This check flags static constants that do not follow the upper snake
case naming convention.
While there, introduce the `Flags#getSet` utility method, and use it to
replace `Flags#getList` in relevant places.
2024-10-27 14:23:59 +01:00
Stephan Schroevers
9cbc6f875c
Have LexicographicalAnnotationAttributeListing also sort booleans and chars ( #1334 )
2024-09-30 06:38:44 +02:00
Stephan Schroevers
fa8ca80040
[maven-release-plugin] prepare for next development iteration
2024-08-11 15:05:54 +02:00
Stephan Schroevers
b733179cd0
[maven-release-plugin] prepare release v0.18.0
2024-08-11 15:05:54 +02:00
Stephan Schroevers
290ddf1972
[maven-release-plugin] prepare for next development iteration
2024-07-20 14:15:44 +02:00
Stephan Schroevers
5a163ce2e9
[maven-release-plugin] prepare release v0.17.0
2024-07-20 14:15:43 +02: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
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
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