mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
IDEA-83555: check file content just before loading
This commit is contained in:
+1
-1
@@ -213,10 +213,10 @@ public class CompositePrintable implements Printable, Disposable {
|
||||
}
|
||||
|
||||
public void printOn(final Printer console, final List<Printable> printables) {
|
||||
final File file = hasOutput() ? getFile() : null;
|
||||
final Runnable request = new Runnable() {
|
||||
@Override
|
||||
public void run() {
|
||||
final File file = hasOutput() ? getFile() : null;
|
||||
final MyFileContentPrinter printer = new MyFileContentPrinter();
|
||||
printer.printFileContent(console, file, printables);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user