mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-20 11:04:34 +02:00
8061876: replace java.io.File with java.nio.file.Path (again)
Reviewed-by: ksrini, jlahoda
This commit is contained in:
parent
8bf55955df
commit
bdf693fcc5
38 changed files with 678 additions and 385 deletions
|
@ -57,7 +57,7 @@ public class WhitespaceTest {
|
|||
if (line.endsWith(" "))
|
||||
error("line has trailing whitespace: " + line);
|
||||
int comment = line.indexOf(doubleSlash);
|
||||
if (comment > 0 && line.charAt(comment - 1) != ' ')
|
||||
if (comment > 0 && line.charAt(comment - 1) != ' ' && !line.contains("file:///"))
|
||||
error("no space before comment: " + line);
|
||||
if (line.matches(" +}"))
|
||||
error("bad indentation: " + line);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue