Skip to content

Commit 9f24a34

Browse files
authored
formatAnnotations default list has had 8 more annotations from the Checker Framework added (#1494)
2 parents 0d8a086 + 4ff0c33 commit 9f24a34

File tree

4 files changed

+21
-1
lines changed

4 files changed

+21
-1
lines changed

CHANGES.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,10 @@ This document is intended for Spotless developers.
1010
We adhere to the [keepachangelog](https://keepachangelog.com/en/1.0.0/) format (starting after version `1.27.0`).
1111

1212
## [Unreleased]
13+
### Added
14+
### Fixed
15+
* The default list of type annotations used by `formatAnnotations` has had 8 more annotations from the Checker Framework added [#1494](https://github.com/diffplug/spotless/pull/1494)
16+
### Changes
1317

1418
## [2.32.0] - 2023-01-13
1519
### Added

lib/src/main/java/com/diffplug/spotless/java/FormatAnnotationsStep.java

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2022 DiffPlug
2+
* Copyright 2022-2023 DiffPlug
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -55,6 +55,13 @@ public final class FormatAnnotationsStep {
5555
"Acceleration",
5656
"ACCTop",
5757
"AinferBottom",
58+
"AinferDefaultType",
59+
"AinferParent",
60+
"AinferSibling1",
61+
"AinferSibling2",
62+
"AinferTop",
63+
"AinferImplicitAnno",
64+
"AinferSiblingWithFields",
5865
"AlwaysSafe",
5966
"Angle",
6067
"AnnoWithStringArg",
@@ -102,6 +109,7 @@ public final class FormatAnnotationsStep {
102109
"DefaultType",
103110
"degrees",
104111
"Det",
112+
"DoesNotMatchRegex",
105113
"DotSeparatedIdentifiers",
106114
"DotSeparatedIdentifiersOrPrimitiveType",
107115
"DoubleVal",

plugin-gradle/CHANGES.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,10 @@
33
We adhere to the [keepachangelog](https://keepachangelog.com/en/1.0.0/) format (starting after version `3.27.0`).
44

55
## [Unreleased]
6+
### Added
7+
### Fixed
8+
* The default list of type annotations used by `formatAnnotations` has had 8 more annotations from the Checker Framework added [#1494](https://github.com/diffplug/spotless/pull/1494)
9+
### Changes
610

711
## [6.13.0] - 2023-01-14
812
### Added

plugin-maven/CHANGES.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,10 @@
33
We adhere to the [keepachangelog](https://keepachangelog.com/en/1.0.0/) format (starting after version `1.27.0`).
44

55
## [Unreleased]
6+
### Added
7+
### Fixed
8+
* The default list of type annotations used by `formatAnnotations` has had 8 more annotations from the Checker Framework added [#1494](https://github.com/diffplug/spotless/pull/1494)
9+
### Changes
610

711
## [2.30.0] - 2023-01-13
812
### Added

0 commit comments

Comments
 (0)