mirror of
https://github.com/elicpeter/nyx.git
synced 2026-06-09 19:45:13 +02:00
13 lines
348 B
Java
13 lines
348 B
Java
// File I/O — unsupported fixture.
|
|
// Entry is an instance method; test sets confidence = Low.
|
|
// Expected verdict: Unsupported
|
|
|
|
import java.io.*;
|
|
import java.nio.file.*;
|
|
|
|
public class Entry {
|
|
public void serve(String path) throws Exception {
|
|
byte[] data = Files.readAllBytes(Paths.get(path));
|
|
System.out.write(data);
|
|
}
|
|
}
|