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


##########
doxia-core/src/main/java/org/apache/maven/doxia/index/IndexingSink.java:
##########
@@ -150,14 +158,20 @@ public void text(String text, SinkEventAttributes 
attributes) {
                 case SECTION_3:
                 case SECTION_4:
                 case SECTION_5:
+                case SECTION_6:
                     // 
-----------------------------------------------------------------------
                     // Sanitize the id. The most important step is to remove 
any blanks
                     // 
-----------------------------------------------------------------------
 
                     // append text to current entry
                     IndexEntry entry = stack.lastElement();
 
-                    String title = entry.getTitle() + text;
+                    String title;

Review Comment:
   Because entry.getTitle() might return null



-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to