Searched refs:maxLines (Results 1 – 1 of 1) sorted by relevance
143 private static String truncate(String text, int maxLines) { in truncate() argument146 for (int i = 0; i < maxLines && i < lines.length; i++) { in truncate()150 if (lines.length > maxLines) { in truncate()152 ret.append(lines.length - maxLines); in truncate()