-
Notifications
You must be signed in to change notification settings - Fork 49
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Turn off the javadoc formatter entirely. We still indent the javadoc prefix to the corect column, but don't do any code reflowing or HTML tag correction anymore.
- Loading branch information
1 parent
b194b37
commit 56c4824
Showing
27 changed files
with
133 additions
and
361 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
type: improvement | ||
improvement: | ||
description: Turn off the javadoc formatter entirely. | ||
links: | ||
- https://github.com/palantir/palantir-java-format/pull/152 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
20 changes: 20 additions & 0 deletions
20
...-java-format/src/main/java/com/palantir/javaformat/java/JavaFormatterInternalOptions.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
package com.palantir.javaformat.java; | ||
|
||
import com.google.errorprone.annotations.Immutable; | ||
import org.immutables.value.Value; | ||
|
||
@Value.Immutable | ||
@Immutable | ||
interface JavaFormatterInternalOptions { | ||
|
||
@Value.Default | ||
default boolean reformatJavadoc() { | ||
return false; | ||
} | ||
|
||
class Builder extends ImmutableJavaFormatterInternalOptions.Builder {} | ||
|
||
static Builder builder() { | ||
return new Builder(); | ||
} | ||
} |
204 changes: 0 additions & 204 deletions
204
palantir-java-format/src/main/java/com/palantir/javaformat/java/SnippetFormatter.java
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.