Read a specific line from a file: Difference between revisions

Content added Content deleted
Line 1,221: Line 1,221:
}
}
private static final String ERROR_TOO_FEW_LINES = "File has less than 7 lines";
private static final String ERROR_TOO_FEW_LINES = "File has fewer than 7 lines";
private static final String ERROR_EMPTY_LINE = "Line 7 is empty";
private static final String ERROR_EMPTY_LINE = "Line 7 is empty";