3c859caf2b
Move j2k/test/tests -> j2k/tests, j2k/test/testData -> j2k/testData
19 lines
408 B
Java
Vendored
19 lines
408 B
Java
Vendored
//file
|
|
import java.io.*;
|
|
|
|
public class C {
|
|
void foo() {
|
|
try(InputStream stream = new ByteArrayInputStream(new byte[10])) {
|
|
// reading something
|
|
int c = stream.read();
|
|
System.out.println(c);
|
|
}
|
|
catch (IOException e) {
|
|
System.out.println(e);
|
|
}
|
|
catch (Exception e) {
|
|
System.err.println(e);
|
|
}
|
|
}
|
|
}
|