question: public static List < TestDiagnostic > readDiagnostics ( Iterable < File > toRead , boolean omitEmptyDiagnostics ) { List < TestDiagnosticLine > lines = readDiagnosticLines ( 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 from the comments of a set of Java file.