From 4f7f7fef0021972093fc98b7a2beaa5a9016bce1 Mon Sep 17 00:00:00 2001 From: Paul Campbell Date: Sun, 29 Mar 2020 11:20:16 +0100 Subject: [PATCH] Add missing javadoc tags --- src/main/java/net/kemitix/files/FileReader.java | 1 + src/main/java/net/kemitix/files/FileWriter.java | 1 + 2 files changed, 2 insertions(+) diff --git a/src/main/java/net/kemitix/files/FileReader.java b/src/main/java/net/kemitix/files/FileReader.java index 8719434..a3146d8 100644 --- a/src/main/java/net/kemitix/files/FileReader.java +++ b/src/main/java/net/kemitix/files/FileReader.java @@ -11,6 +11,7 @@ public interface FileReader { * be replaced with a newline (\n).

* * @param file the file to read + * @return the contents of the file * @throws IOException if there is an error. */ String read(File file) throws IOException; diff --git a/src/main/java/net/kemitix/files/FileWriter.java b/src/main/java/net/kemitix/files/FileWriter.java index 4512f82..15087b8 100644 --- a/src/main/java/net/kemitix/files/FileWriter.java +++ b/src/main/java/net/kemitix/files/FileWriter.java @@ -13,6 +13,7 @@ public interface FileWriter { * * @param file the file to write * @param content the content to write + * @throws IOException if there is an error. */ void write( File file,