Repository navigation
Commit 4b60a20
committed
Make CanonicalAnnotationSyntax an error
An annotation attribute with one value no longer has braces around it
(@State's storages), and an array of them no trailing comma
(SpotlessExcludesTest's @valuesource, which then fits on one line).1 parent 11f51fe commit 4b60a20
3 files changed
Lines changed: 3 additions & 8 deletions
File tree
- buildSrc/src/main/groovy
- gradle-open-java-format/src/test/java/com/palantir/javaformat/gradle
- open-java-format-idea-plugin/src/main/java/com/palantir/javaformat/intellij
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
| 28 | + | |
28 | 29 | | |
29 | 30 | | |
30 | 31 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
93 | 93 | | |
94 | 94 | | |
95 | 95 | | |
96 | | - | |
97 | | - | |
98 | | - | |
99 | | - | |
100 | | - | |
| 96 | + | |
101 | 97 | | |
102 | 98 | | |
103 | 99 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
37 | 37 | | |
38 | 38 | | |
39 | 39 | | |
40 | | - | |
41 | | - | |
42 | | - | |
| 40 | + | |
43 | 41 | | |
44 | 42 | | |
45 | 43 | | |
| |||
0 commit comments