Commit 71e71fe
Add backward-compatible constructors to formatter services
Add overloaded constructors to BootstrappingFormatterService and NativeImageFormatterService that accept the old parameter lists without JavaFormatterOptions. These new constructors use default formatter options internally, maintaining backward compatibility while allowing new code to pass custom options.
This eliminates the API/ABI break detected by revapi while keeping the feature support for configuring the skip-reflowing-long-strings option in the IntelliJ plugin.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>1 parent 37a9da6 commit 71e71fe
File tree
2 files changed
+26
-0
lines changed- palantir-java-format-jdk-bootstrap/src/main/java/com/palantir/javaformat/bootstrap
2 files changed
+26
-0
lines changedLines changed: 15 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
47 | 47 | | |
48 | 48 | | |
49 | 49 | | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
50 | 65 | | |
51 | 66 | | |
52 | 67 | | |
| |||
Lines changed: 11 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
41 | 41 | | |
42 | 42 | | |
43 | 43 | | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
44 | 55 | | |
45 | 56 | | |
46 | 57 | | |
| |||
0 commit comments