Commit 39f69dc
committed
Stop passing --ojf from the benchmarks and the Gradle plugin's native step
2.98.0.2 took the style flags out of the CLI, and such a flag now only
prints a warning. 894f4a5 removed --ojf from the two formatter
services; two more places still passed it. The Spotless step that runs
the native binary ignores stderr when the exit code is 0, so its warning
went unseen, and the benchmarks, which inherit the formatter's output,
printed it on every run. The formatted output is the same with and
without the flag.1 parent 9182725 commit 39f69dc
2 files changed
Lines changed: 4 additions & 6 deletions
File tree
- gradle-open-java-format/src/main/java/com/palantir/javaformat/gradle/spotless
- open-java-format-benchmarks/src/jmh/java/com/palantir/javaformat
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
62 | 62 | | |
63 | 63 | | |
64 | 64 | | |
65 | | - | |
| 65 | + | |
66 | 66 | | |
67 | 67 | | |
68 | 68 | | |
| |||
Lines changed: 3 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
86 | 86 | | |
87 | 87 | | |
88 | 88 | | |
89 | | - | |
| 89 | + | |
90 | 90 | | |
91 | 91 | | |
92 | 92 | | |
| |||
98 | 98 | | |
99 | 99 | | |
100 | 100 | | |
101 | | - | |
102 | | - | |
| 101 | + | |
103 | 102 | | |
104 | 103 | | |
105 | 104 | | |
| |||
120 | 119 | | |
121 | 120 | | |
122 | 121 | | |
123 | | - | |
124 | | - | |
| 122 | + | |
125 | 123 | | |
126 | 124 | | |
127 | 125 | | |
| |||
0 commit comments