kwin commented on code in PR #228:
URL: https://github.com/apache/maven-doxia/pull/228#discussion_r1766275985


##########
doxia-core/src/main/java/org/apache/maven/doxia/macro/toc/TocMacro.java:
##########
@@ -112,9 +113,13 @@ public void execute(Sink sink, MacroRequest request) 
throws MacroExecutionExcept
             tocSink.close();
         }
 
-        IndexEntry index = tocSink.getRootEntry();
+        writeTocForIndexEntry(sink, 
getAttributesFromMap(request.getParameters()), tocSink.getRootEntry());
+    }
+
+    void writeTocForIndexEntry(Sink sink, SinkEventAttributes listAttributes, 
IndexEntry rootEntry) {

Review Comment:
   Done now.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscr...@maven.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to