Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Treat expressions ending in
.toBuilder()
as a syntactic unit
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=237907460
- Loading branch information
Showing
4 changed files
with
35 additions
and
12 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
12 changes: 12 additions & 0 deletions
12
core/src/test/resources/com/google/googlejavaformat/java/testdata/B112853497.input
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,12 @@ | ||
class B112853497 { | ||
{ | ||
XxxxxxxxxxXxxx xxxXxxxx = | ||
xxxXxxxx | ||
.xxxxXxXxxxx(xxxxXxxx, XXXXXX_XXXX_XXXXXXXX_XX_XXXXXXXX) | ||
.toBuilder() | ||
.xxxXxxxxXxxxXx(xxxxxXx.xxxXxxxxXxxxXx()) | ||
.xxxXxxxxXxxxXx(xxxxxXx.xxxXxxxxXxxxXx()) | ||
.xxxXxxxxx(xxxxxx.xxxXxxxxxXxxx()) | ||
.xxxxx(); | ||
} | ||
} |
10 changes: 10 additions & 0 deletions
10
core/src/test/resources/com/google/googlejavaformat/java/testdata/B112853497.output
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,10 @@ | ||
class B112853497 { | ||
{ | ||
XxxxxxxxxxXxxx xxxXxxxx = | ||
xxxXxxxx.xxxxXxXxxxx(xxxxXxxx, XXXXXX_XXXX_XXXXXXXX_XX_XXXXXXXX).toBuilder() | ||
.xxxXxxxxXxxxXx(xxxxxXx.xxxXxxxxXxxxXx()) | ||
.xxxXxxxxXxxxXx(xxxxxXx.xxxXxxxxXxxxXx()) | ||
.xxxXxxxxx(xxxxxx.xxxXxxxxxXxxx()) | ||
.xxxxx(); | ||
} | ||
} |
3 changes: 1 addition & 2 deletions
3
core/src/test/resources/com/google/googlejavaformat/java/testdata/B26928842.output
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