From 1acd991c7725747df5cefa9ed66d739a3fc2a865 Mon Sep 17 00:00:00 2001 From: Robin Maisch Date: Tue, 2 Apr 2024 14:34:13 +0200 Subject: [PATCH] =?UTF-8?q?Revert=20changes=20to=20base=20code=20=E2=80=93?= =?UTF-8?q?=20No.2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- core/src/main/java/de/jplag/Submission.java | 1 - language-api/src/main/java/de/jplag/Language.java | 2 ++ 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/core/src/main/java/de/jplag/Submission.java b/core/src/main/java/de/jplag/Submission.java index dcffe824a..0fe8db33f 100644 --- a/core/src/main/java/de/jplag/Submission.java +++ b/core/src/main/java/de/jplag/Submission.java @@ -65,7 +65,6 @@ public class Submission implements Comparable { private Map fileTokenCount; - /** * Creates a submission. * @param name Identification of the submission (directory or filename). diff --git a/language-api/src/main/java/de/jplag/Language.java b/language-api/src/main/java/de/jplag/Language.java index ed5c1b306..ffe6aa9a6 100644 --- a/language-api/src/main/java/de/jplag/Language.java +++ b/language-api/src/main/java/de/jplag/Language.java @@ -35,6 +35,7 @@ public interface Language { * Parses a set of files. Override this method, if you don't require normalization. * @param files are the files to parse. * @return the list of parsed JPlag tokens. + * @throws ParsingException if an error during parsing the files occurred. * @deprecated Replaced by {@link #parse(Set, boolean)} */ @Deprecated(forRemoval = true) @@ -47,6 +48,7 @@ default List parse(Set files) throws ParsingException { * @param files are the files to parse. * @param normalize True, if the tokens should be normalized * @return the list of parsed JPlag tokens. + * @throws ParsingException if an error during parsing the files occurred. */ List parse(Set files, boolean normalize) throws ParsingException;