You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 05ed5dc
Browse filesBrowse the repository at this point in the historyBrowse files
Fix only the imports in the out-of-process fixImports
BootstrappingFormatterService.fixImports and
NativeImageFormatterService.fixImports ran Main with no flags, as
formatSourceReflowStringsAndFixImports does: the imports were fixed,
and the whole file was laid out and its long strings reflowed with
them. FormatterServiceImpl.fixImports, in process, fixes only the
imports. Both now pass --fix-imports-only.
Nothing calls fixImports through these services today. An import
optimizer in the IntelliJ plugin would, on every Optimize imports, and
the one palantir-java-format had was removed as slow (#222).
JvmFormatterServicesTest checks fixImports on the in-process and the
bootstrapping services, and runs in every build; FormatterServicesTest,
in the native jobs, checks it on the bootstrapping and native ones.
Closes#221
Copy file name to clipboardExpand all lines: open-java-format-jdk-bootstrap/src/main/java/com/palantir/javaformat/bootstrap/BootstrappingFormatterService.java
+9-3Lines changed: 9 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -64,7 +64,7 @@ public ImmutableList<Replacement> getFormatReplacements(String input, Collection
Copy file name to clipboardExpand all lines: open-java-format-jdk-bootstrap/src/main/java/com/palantir/javaformat/bootstrap/NativeImageFormatterService.java
+10-5Lines changed: 10 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -49,6 +49,7 @@ public ImmutableList<Replacement> getFormatReplacements(String input, Collection
0 commit comments