-
Notifications
You must be signed in to change notification settings - Fork 460
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
google-java-format now uses the latest default available for the curr…
…ent JRE. If the user is using an old JRE and has a failure, it lets them know that they might get a fix by updating to a newer JRE to get the latest GJF.
- Loading branch information
Showing
4 changed files
with
87 additions
and
7 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
14 changes: 14 additions & 0 deletions
14
testlib/src/main/resources/java/googlejavaformat/TextBlock.clean
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,14 @@ | ||
import mylib.UsedA; | ||
import mylib.UsedB; | ||
|
||
public class Java { | ||
public static void main(String[] args) { | ||
var a = """ | ||
Howdy | ||
Partner! | ||
"""; | ||
System.out.println(a); | ||
UsedB.someMethod(); | ||
UsedA.someMethod(); | ||
} | ||
} |
15 changes: 15 additions & 0 deletions
15
testlib/src/main/resources/java/googlejavaformat/TextBlock.dirty
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,15 @@ | ||
|
||
import mylib.UsedA; | ||
import mylib.UsedB; | ||
|
||
public class Java { | ||
public static void main(String[] args) { | ||
var a = """ | ||
Howdy | ||
Partner! | ||
"""; | ||
System.out.println(a); | ||
UsedB.someMethod(); | ||
UsedA.someMethod(); | ||
} | ||
} |
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