diff --git a/lucene/test-framework/src/java/org/apache/lucene/analysis/TokenStreamToDot.java b/lucene/test-framework/src/java/org/apache/lucene/analysis/TokenStreamToDot.java index 384f58659b9..aeb1314eb08 100644 --- a/lucene/test-framework/src/java/org/apache/lucene/analysis/TokenStreamToDot.java +++ b/lucene/test-framework/src/java/org/apache/lucene/analysis/TokenStreamToDot.java @@ -94,7 +94,7 @@ public class TokenStreamToDot { final int endOffset = offsetAtt.endOffset(); //System.out.println("start=" + startOffset + " end=" + endOffset + " len=" + inputText.length()); if (inputText != null) { - arcLabel += " / " + inputText.substring(startOffset, endOffset); + arcLabel += " / " + inputText.substring(startOffset, endOffset); } else { arcLabel += " / " + startOffset + "-" + endOffset; }