NIFI-309 fixing bug when dealing with string class names

This commit is contained in:
danbress 2015-03-05 14:53:31 -05:00
parent 458540e5d2
commit ff1ba78b34
1 changed files with 1 additions and 1 deletions

View File

@ -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);