Skip to content

Commit 8b24963

Browse files
authored
Don't treat @Value as a type annotation (#1367)
2 parents 6e84f68 + 4b13e32 commit 8b24963

File tree

4 files changed

+7
-1
lines changed

4 files changed

+7
-1
lines changed

CHANGES.md

+2
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@ 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+
### Fixed
14+
* Don't treat `@Value` as a type annotation [#1367](https://github.com/diffplug/spotless/pull/1367)
1315

1416
## [2.30.0] - 2022-09-14
1517
### Added

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -371,7 +371,7 @@ public final class FormatAnnotationsStep {
371371
"UpperBoundBottom",
372372
"UpperBoundLiteral",
373373
"UpperBoundUnknown",
374-
"Value",
374+
"ValueTypeAnno",
375375
"VariableNameDefaultBottom",
376376
"VariableNameDefaultMiddle",
377377
"VariableNameDefaultTop",

plugin-gradle/CHANGES.md

+2
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@
33
We adhere to the [keepachangelog](https://keepachangelog.com/en/1.0.0/) format (starting after version `3.27.0`).
44

55
## [Unreleased]
6+
### Fixed
7+
* Don't treat `@Value` as a type annotation [#1367](https://github.com/diffplug/spotless/pull/1367)
68

79
## [6.11.0] - 2022-09-14
810
### Added

plugin-maven/CHANGES.md

+2
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@
33
We adhere to the [keepachangelog](https://keepachangelog.com/en/1.0.0/) format (starting after version `1.27.0`).
44

55
## [Unreleased]
6+
### Fixed
7+
* Don't treat `@Value` as a type annotation [#1367](https://github.com/diffplug/spotless/pull/1367)
68

79
## [2.27.2] - 2022-10-10
810
### Fixed

0 commit comments

Comments
 (0)