From 1cfdcf7b529b000116ed9dfcd1f1da340a7ef587 Mon Sep 17 00:00:00 2001 From: vysitor Date: Sun, 23 Mar 2025 21:34:56 +0100 Subject: [PATCH] continued auther adding in javadoc --- .../texttechnologylab/project/gruppe_05_1/util/FileUtils.java | 1 + .../project/gruppe_05_1/util/GeneralUtils.java | 2 +- .../project/gruppe_05_1/util/PropertiesUtils.java | 4 +++- .../texttechnologylab/project/gruppe_05_1/util/XmlUtils.java | 4 +++- 4 files changed, 8 insertions(+), 3 deletions(-) diff --git a/src/main/java/org/texttechnologylab/project/gruppe_05_1/util/FileUtils.java b/src/main/java/org/texttechnologylab/project/gruppe_05_1/util/FileUtils.java index b53da1a..e2684a1 100644 --- a/src/main/java/org/texttechnologylab/project/gruppe_05_1/util/FileUtils.java +++ b/src/main/java/org/texttechnologylab/project/gruppe_05_1/util/FileUtils.java @@ -17,6 +17,7 @@ public abstract class FileUtils { /** + * Datei implementiert von Valentin * Creates a (possibly nested) directory * @param dir (e.g. "generated" , "level1/level2/level3" etc. */ diff --git a/src/main/java/org/texttechnologylab/project/gruppe_05_1/util/GeneralUtils.java b/src/main/java/org/texttechnologylab/project/gruppe_05_1/util/GeneralUtils.java index d67d198..871c6f7 100644 --- a/src/main/java/org/texttechnologylab/project/gruppe_05_1/util/GeneralUtils.java +++ b/src/main/java/org/texttechnologylab/project/gruppe_05_1/util/GeneralUtils.java @@ -9,7 +9,7 @@ import java.time.format.DateTimeParseException; public abstract class GeneralUtils { /** - * + * Datei implementiert von Valentin * @param integer the integer to be parsed * @return the parsed integer or null if the integer could not be parsed */ diff --git a/src/main/java/org/texttechnologylab/project/gruppe_05_1/util/PropertiesUtils.java b/src/main/java/org/texttechnologylab/project/gruppe_05_1/util/PropertiesUtils.java index 6663d9a..02a93e8 100644 --- a/src/main/java/org/texttechnologylab/project/gruppe_05_1/util/PropertiesUtils.java +++ b/src/main/java/org/texttechnologylab/project/gruppe_05_1/util/PropertiesUtils.java @@ -3,7 +3,9 @@ package org.texttechnologylab.project.gruppe_05_1.util; import java.io.IOException; import java.io.InputStream; import java.util.Properties; - +/** + * Datei implementiert von Valentin + */ public abstract class PropertiesUtils { public static Properties readPropertiesFromResource(String propertiesFileName) { diff --git a/src/main/java/org/texttechnologylab/project/gruppe_05_1/util/XmlUtils.java b/src/main/java/org/texttechnologylab/project/gruppe_05_1/util/XmlUtils.java index b489ec8..c118274 100644 --- a/src/main/java/org/texttechnologylab/project/gruppe_05_1/util/XmlUtils.java +++ b/src/main/java/org/texttechnologylab/project/gruppe_05_1/util/XmlUtils.java @@ -16,6 +16,9 @@ import java.util.HashMap; import java.util.List; import java.util.Map; import java.util.zip.ZipEntry; +/** + * Datei implementiert von Valentin + */ public abstract class XmlUtils { @@ -43,7 +46,6 @@ public abstract class XmlUtils { try { document = builder.parse(xmlInputStream); - // TODO: Error handling... } catch (SAXException e) { throw new RuntimeException(e); } catch (IOException e) {