Skip to content

Commit a3532c2

Browse files
committed
Oops, got the semantics of subList wrong in the debugging code
1 parent 3a35e53 commit a3532c2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

itest/src/edu/stanford/nlp/dcoref/DcorefBenchmarkSlowITest.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ public static Counter<String> getCorefResults(String resultsString) throws IOExc
134134
if (results.keySet().isEmpty()) {
135135
List<String> lines = StringUtils.split(resultsString, "\\R");
136136
int start = Math.max(0, lines.size() - 20);
137-
lines = lines.subList(start, lines.size() - start);
137+
lines = lines.subList(start, lines.size());
138138
String tail = StringUtils.join(lines, "\n");
139139
throw new RuntimeException("Coref output did not have any results in it! The end of the log is as follows:\n" + tail);
140140
}

0 commit comments

Comments
 (0)