Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Break: rename api->spi, remove JavaFormatterOptions and expose new method #47

Merged
merged 10 commits into from
Oct 22, 2019

Conversation

dansanduleac
Copy link
Contributor

@dansanduleac dansanduleac commented Oct 22, 2019

Before this PR

Baseline is reaching into the implementation to call formatSourceAndFixImports in order to get string reflowing.

After this PR

==COMMIT_MSG==

  • Rename api -> spi.
  • Remove JavaFormatterOptions from the SPI.
  • Expose formatSourceReflowStringsAndFixImports from the API, which formats a whole file returning the formatted file as a String.
    ==COMMIT_MSG==

Possible downsides?

@dansanduleac dansanduleac changed the title Feature: Expose formatSourceReflowStringsAndFixImports from API Break: Expose formatSourceReflowStringsAndFixImports from API Oct 22, 2019
@dansanduleac dansanduleac changed the title Break: Expose formatSourceReflowStringsAndFixImports from API Expose formatSourceReflowStringsAndFixImports from API Oct 22, 2019
@dansanduleac dansanduleac changed the title Expose formatSourceReflowStringsAndFixImports from API Break: Expose formatSourceReflowStringsAndFixImports from API Oct 22, 2019
@dansanduleac dansanduleac changed the title Break: Expose formatSourceReflowStringsAndFixImports from API Break: rename api->spi, remove JavaFormatterOptions and expose new method Oct 22, 2019
@bulldozer-bot bulldozer-bot bot merged commit 9af36ba into develop Oct 22, 2019
@bulldozer-bot bulldozer-bot bot deleted the ds/format-string-api branch October 22, 2019 13:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants