Skip to content

Commit 5d8ca78

Browse files
nanazeCompile-Testing Team
authored and
Compile-Testing Team
committed
Fix a syntactical error in example code.
The opening parathesis in the call to `compile` is never closed. RELNOTES=n/a PiperOrigin-RevId: 667625884
1 parent 4337655 commit 5d8ca78

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/com/google/testing/compile/package-info.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@
4646
* Compilation compilation =
4747
* javac()
4848
* .withProcessors(new MyAnnotationProcessor())
49-
* .compile(JavaFileObjects.forSourceString("HelloWorld", "final class HelloWorld {}");
49+
* .compile(JavaFileObjects.forSourceString("HelloWorld", "final class HelloWorld {}"));
5050
* assertThat(compilation).succeededWithoutWarnings();
5151
* </pre>
5252
*

0 commit comments

Comments
 (0)