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

README clarifies the 'before' examples are g-j-f, not unformatted #830

Merged
merged 1 commit into from
Jan 18, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ Many other languages have already adopted formatters enthusiastically, including

## Motivation & examples

(1) before:
(1) google-java-format output:

```java
private static void configureResolvedVersionsWithVersionMapping(Project project) {
Expand All @@ -53,7 +53,7 @@ private static void configureResolvedVersionsWithVersionMapping(Project project)
}
```

(1) after:
(1) palantir-java-format output:

```java
private static void configureResolvedVersionsWithVersionMapping(Project project) {
Expand All @@ -69,7 +69,7 @@ private static void configureResolvedVersionsWithVersionMapping(Project project)
}
```

(2) before:
(2) google-java-format output:

```java
private static GradleException notFound(
Expand All @@ -87,7 +87,7 @@ private static GradleException notFound(
}
```

(2) after:
(2) palantir-java-format output:

```java
private static GradleException notFound(String group, String name, Configuration configuration) {
Expand Down