Commit 2dc5197
committed
Write the javac exports message as a text block
The same message, as a text block with String.formatted instead of a
String.format over concatenated pieces with %n, so that it reads in the
source the way it prints. The line-continuation backslashes keep the
source within the column limit without adding line breaks to the text.1 parent a9f92e5 commit 2dc5197
1 file changed
Lines changed: 14 additions & 11 deletions
File tree
- gradle-open-java-format/src/main/java/com/palantir/javaformat/gradle
Lines changed: 14 additions & 11 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
94 | 94 | | |
95 | 95 | | |
96 | 96 | | |
97 | | - | |
98 | | - | |
99 | | - | |
100 | | - | |
101 | | - | |
102 | | - | |
103 | | - | |
104 | | - | |
105 | | - | |
106 | | - | |
107 | | - | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
108 | 111 | | |
109 | 112 | | |
0 commit comments