From 835281210bcf43b18b2be754a548cc305b3c962c Mon Sep 17 00:00:00 2001 From: "Christian P. MOMON" Date: Sun, 25 Apr 2021 13:18:48 +0200 Subject: [PATCH] Reviewed Javadoc. --- src/fr/devinsy/logar/app/Logar.java | 19 +++++++++---------- .../logar/app/anonymizer/AnonMapFile.java | 4 ++-- .../logar/app/anonymizer/Anonymizer.java | 2 -- src/fr/devinsy/logar/app/log/LogFile.java | 19 ++++++++++++------- 4 files changed, 23 insertions(+), 21 deletions(-) diff --git a/src/fr/devinsy/logar/app/Logar.java b/src/fr/devinsy/logar/app/Logar.java index 160d815..b9b9d1b 100644 --- a/src/fr/devinsy/logar/app/Logar.java +++ b/src/fr/devinsy/logar/app/Logar.java @@ -61,8 +61,6 @@ public final class Logar * * @param source * the source - * @param target - * the target */ public static void anonymize(final File source) { @@ -74,8 +72,8 @@ public final class Logar * * @param source * the source - * @param target - * the target + * @param mapFile + * the map file */ public static void anonymize(final File source, final File mapFile) { @@ -421,11 +419,12 @@ public final class Logar } /** - * Check sort for access files. + * Check sort file. * - * @param source - * the source + * @param file + * the file * @throws IOException + * Signals that an I/O exception has occurred. */ public static void checkSortFile(final File file) throws IOException { @@ -510,10 +509,10 @@ public final class Logar } /** - * Check concate on file. + * Test concate file. * - * @param source - * the source + * @param file + * the file */ public static void testConcateFile(final File file) { diff --git a/src/fr/devinsy/logar/app/anonymizer/AnonMapFile.java b/src/fr/devinsy/logar/app/anonymizer/AnonMapFile.java index 65c2b14..d760407 100644 --- a/src/fr/devinsy/logar/app/anonymizer/AnonMapFile.java +++ b/src/fr/devinsy/logar/app/anonymizer/AnonMapFile.java @@ -108,8 +108,8 @@ public final class AnonMapFile /** * Save. * - * @param source - * the source + * @param target + * the target * @param map * the map */ diff --git a/src/fr/devinsy/logar/app/anonymizer/Anonymizer.java b/src/fr/devinsy/logar/app/anonymizer/Anonymizer.java index 69125e7..6f9443a 100644 --- a/src/fr/devinsy/logar/app/anonymizer/Anonymizer.java +++ b/src/fr/devinsy/logar/app/anonymizer/Anonymizer.java @@ -65,8 +65,6 @@ public final class Anonymizer * * @param source * the source - * @param target - * the target */ public void anonymize(final File source) { diff --git a/src/fr/devinsy/logar/app/log/LogFile.java b/src/fr/devinsy/logar/app/log/LogFile.java index 67d1498..b275898 100644 --- a/src/fr/devinsy/logar/app/log/LogFile.java +++ b/src/fr/devinsy/logar/app/log/LogFile.java @@ -184,12 +184,16 @@ public final class LogFile } /** - * Save access log. + * Save logs. * - * @param source - * the source - * @throws IOException + * @param target + * the target + * @param logs + * the logs * @throws FileNotFoundException + * the file not found exception + * @throws IOException + * Signals that an I/O exception has occurred. */ public static void saveLogs(final File target, final Logs logs) throws FileNotFoundException, IOException { @@ -217,11 +221,12 @@ public final class LogFile } /** - * Sort access log. + * Sort log file. * - * @param target - * the target + * @param file + * the file * @throws IOException + * Signals that an I/O exception has occurred. */ public static void sortLogFile(final File file) throws IOException {