mirror of https://github.com/apache/nifi.git
NIFI-309 fixing bug when dealing with string class names
This commit is contained in:
parent
458540e5d2
commit
ff1ba78b34
|
@ -167,7 +167,7 @@ public class HtmlDocumentationWriter implements DocumentationWriter {
|
|||
|
||||
final String link = "../" + linkedComponent + "/index.html";
|
||||
|
||||
final int indexOfLastPeriod = Math.max(0, linkedComponent.lastIndexOf("."));
|
||||
final int indexOfLastPeriod = linkedComponent.lastIndexOf(".") + 1;
|
||||
|
||||
writeLink(xmlStreamWriter, linkedComponent.substring(indexOfLastPeriod), link);
|
||||
|
||||
|
|
Loading…
Reference in New Issue