Remove an obsolete code comment from the AsciiDoctor class
In case of the bazel build no Zip file for the HTML documentation is
created. Instead, we want keep the individual HTML files. With that in
mind it is no longer true that we would like to render HTML to a string
that gets directly added as a ZipEntry, so remove that comment.
Change-Id: I8384c8500e3658aebd6143fbe766cf1944bb4809
diff --git a/lib/asciidoctor/java/AsciiDoctor.java b/lib/asciidoctor/java/AsciiDoctor.java
index 1871b0c..13b72d1 100644
--- a/lib/asciidoctor/java/AsciiDoctor.java
+++ b/lib/asciidoctor/java/AsciiDoctor.java
@@ -108,10 +108,6 @@
.eruby(ERUBY)
.safe(SafeMode.UNSAFE)
.baseDir(base)
- // XXX(fishywang): ideally we should just output to a string and add the
- // content into zip. But asciidoctor will actually ignore all attributes
- // if not output to a file. So we *have* to output to a file then read
- // the content of the file into zip.
.toFile(outputFile);
AttributesBuilder attributesBuilder = AttributesBuilder.attributes();