IDEA-93289 (count usages; simple case)

This commit is contained in:
Roman Shevchenko
2012-11-04 21:32:10 +01:00
parent a63ba1e0dd
commit 42eb417800
4 changed files with 44 additions and 8 deletions
@@ -5,6 +5,11 @@ import java.io.IOException;
class C {
void m(File file) throws IOException {
<caret>FileInputStream fileInputStream = new FileInputStream(file);
int read = fileInputStream.read();
int read;
do {
read = fileInputStream.read();
System.out.println(read);
}
while (read != -1);
}
}