Commit a7ab5a0 1 parent 519a959 commit a7ab5a0 Copy full SHA for a7ab5a0
File tree 1 file changed +1
-10
lines changed
src/com/google/javascript/jscomp
1 file changed +1
-10
lines changed Original file line number Diff line number Diff line change 30
30
import com .google .javascript .jscomp .base .format .SimpleFormat ;
31
31
import com .google .javascript .rhino .Node ;
32
32
import com .google .javascript .rhino .Token ;
33
- import java .io .FilterOutputStream ;
34
- import java .io .IOException ;
35
33
import java .io .PrintStream ;
36
34
import java .util .ArrayDeque ;
37
35
import java .util .ArrayList ;
@@ -458,16 +456,9 @@ public void outputTracerReport(PrintStream output) {
458
456
}
459
457
460
458
output .println ();
461
-
462
459
// this.output can be System.out, so don't close it to not lose subsequent
463
460
// error messages. Flush to ensure that you will see the tracer report.
464
- try {
465
- // TODO(johnlenz): Remove this cast and try/catch.
466
- // This is here to workaround GWT http://b/30943295
467
- ((FilterOutputStream ) output ).flush ();
468
- } catch (IOException e ) {
469
- throw new RuntimeException ("Unreachable." , e );
470
- }
461
+ output .flush ();
471
462
}
472
463
473
464
/**
You can’t perform that action at this time.
0 commit comments