question: public static List < TestDiagnostic > readDiagnosticFiles ( Iterable < ? extends File > toRead , boolean omitEmptyDiagnostics ) { List < TestDiagnosticLine > lines = readDiagnosticFileLines ( toRead , omitEmptyDiagnostics ) ; List < TestDiagnostic > diagnostics = new ArrayList < TestDiagnostic > ( ( int ) ( lines . size ( ) + lines . size ( ) * 0.1 ) ) ; for ( TestDiagnosticLine line : lines ) { diagnostics . addAll ( line . getDiagnostics ( ) ) ; } return diagnostics ; }
target:  Reads diagnostics line-by-line from the input Diagnostic files.