Minor fix to AbstractCodeWriter documentation
The example for $C did not compile.
This commit is contained in:
parent
c68b6b6bf2
commit
17cee29c30
|
@ -89,7 +89,7 @@ import java.util.regex.Pattern;
|
|||
*
|
||||
* <pre>{@code
|
||||
* SimpleCodeWriter writer = new SimpleCodeWriter();
|
||||
* writer.write("Hello, $C.", () -> writer.write("there"));
|
||||
* writer.write("Hello, $C.", (Runnable) () -> writer.write("there"));
|
||||
* assert(writer.toString().equals("Hello, there.\n"));
|
||||
* }</pre></li>
|
||||
*
|
||||
|
|
Loading…
Reference in New Issue