protected ScreenshotMeta loadMeta(final TFile file) throws IOException { ScreenshotMeta meta; TFileInputStream in = new TFileInputStream(file); try { meta = ScreenshotMeta.load(in); } finally { in.close(); } return meta; }
is.close(); // ALWAYS close the stream!
is.close(); // ALWAYS close the stream!
Streams.cat(in, out); } finally { in.close();
assert dir.isDirectory(); try { new TFileInputStream(dir).close(); if ('\\' == separatorChar) fail();
new TFileInputStream(file2).close(); fail(); } catch (final FileNotFoundException ex) {