From e658a4f0dfaa40a43388f08ae8979be5197afcce Mon Sep 17 00:00:00 2001 From: Liam Miller-Cushon Date: Thu, 20 Apr 2023 09:56:25 -0700 Subject: [PATCH] Remove tests for handling of extra semi-colons javac no longer accepts these, see https://bugs.openjdk.org/browse/JDK-8027682 PiperOrigin-RevId: 525775880 --- .../com/palantir/javaformat/java/testdata/B28788559.input | 7 ------- .../palantir/javaformat/java/testdata/B28788559.output | 8 -------- .../palantir/javaformat/java/testdata/CL240367479.input | 6 ------ .../palantir/javaformat/java/testdata/CL240367479.output | 6 ------ 4 files changed, 27 deletions(-) delete mode 100644 palantir-java-format/src/test/resources/com/palantir/javaformat/java/testdata/B28788559.input delete mode 100644 palantir-java-format/src/test/resources/com/palantir/javaformat/java/testdata/B28788559.output delete mode 100644 palantir-java-format/src/test/resources/com/palantir/javaformat/java/testdata/CL240367479.input delete mode 100644 palantir-java-format/src/test/resources/com/palantir/javaformat/java/testdata/CL240367479.output diff --git a/palantir-java-format/src/test/resources/com/palantir/javaformat/java/testdata/B28788559.input b/palantir-java-format/src/test/resources/com/palantir/javaformat/java/testdata/B28788559.input deleted file mode 100644 index a38d10b73..000000000 --- a/palantir-java-format/src/test/resources/com/palantir/javaformat/java/testdata/B28788559.input +++ /dev/null @@ -1,7 +0,0 @@ -import a.A;; -import b.B; - -class Test { - A a; - B b; -} diff --git a/palantir-java-format/src/test/resources/com/palantir/javaformat/java/testdata/B28788559.output b/palantir-java-format/src/test/resources/com/palantir/javaformat/java/testdata/B28788559.output deleted file mode 100644 index 11c4ff967..000000000 --- a/palantir-java-format/src/test/resources/com/palantir/javaformat/java/testdata/B28788559.output +++ /dev/null @@ -1,8 +0,0 @@ -import a.A; -; -import b.B; - -class Test { - A a; - B b; -} diff --git a/palantir-java-format/src/test/resources/com/palantir/javaformat/java/testdata/CL240367479.input b/palantir-java-format/src/test/resources/com/palantir/javaformat/java/testdata/CL240367479.input deleted file mode 100644 index be76390d7..000000000 --- a/palantir-java-format/src/test/resources/com/palantir/javaformat/java/testdata/CL240367479.input +++ /dev/null @@ -1,6 +0,0 @@ -package foo;; - -import com.google.second.Foo; -import com.google.first.Bar; - -public class Blim {} diff --git a/palantir-java-format/src/test/resources/com/palantir/javaformat/java/testdata/CL240367479.output b/palantir-java-format/src/test/resources/com/palantir/javaformat/java/testdata/CL240367479.output deleted file mode 100644 index 025d2370e..000000000 --- a/palantir-java-format/src/test/resources/com/palantir/javaformat/java/testdata/CL240367479.output +++ /dev/null @@ -1,6 +0,0 @@ -package foo; -; -import com.google.second.Foo; -import com.google.first.Bar; - -public class Blim {}