
Co-authored-by: Amélie Renard <44666826+amelie-renard-sonarsource@users.noreply.github.com> Co-authored-by: Dorian Burihabwa <75226315+dorian-burihabwa-sonarsource@users.noreply.github.com>
12 lines
197 B
Plaintext
12 lines
197 B
Plaintext
[source,java]
|
|
----
|
|
public String readFile(File f) throws IOException {
|
|
String content;
|
|
try {
|
|
content = readFromDisk(f);
|
|
} catch (IOException e) {
|
|
throw e;
|
|
}
|
|
return content;
|
|
}
|
|
---- |