From 3d67a79eeb1eeaad3c256dcf33d216e8e8612ec8 Mon Sep 17 00:00:00 2001 From: Siphalor Date: Mon, 20 Jul 2020 22:26:32 +0200 Subject: [PATCH] Fix some documentation --- src/main/java/de/siphalor/was/content/pack/ContentPack.java | 2 +- src/main/java/de/siphalor/was/content/quest/Quest.java | 4 ++-- src/main/java/de/siphalor/was/util/PersistentInputStream.java | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/main/java/de/siphalor/was/content/pack/ContentPack.java b/src/main/java/de/siphalor/was/content/pack/ContentPack.java index fb2d338..2041dc7 100644 --- a/src/main/java/de/siphalor/was/content/pack/ContentPack.java +++ b/src/main/java/de/siphalor/was/content/pack/ContentPack.java @@ -21,7 +21,7 @@ public interface ContentPack { /** * Gets the resource with the specified identifier. - * @param identifier + * @param identifier The resource identifier * @return The resource or null if it doesn't exist */ @Nullable diff --git a/src/main/java/de/siphalor/was/content/quest/Quest.java b/src/main/java/de/siphalor/was/content/quest/Quest.java index 85dd941..b025ebb 100644 --- a/src/main/java/de/siphalor/was/content/quest/Quest.java +++ b/src/main/java/de/siphalor/was/content/quest/Quest.java @@ -61,8 +61,8 @@ public class Quest { } /** - * Represents the type of a quest.
- * IN for incoming (store)
+ * Represents the type of a quest.
+ * IN for incoming (store)
* OUT for outgoing (deliver) */ public enum Type { diff --git a/src/main/java/de/siphalor/was/util/PersistentInputStream.java b/src/main/java/de/siphalor/was/util/PersistentInputStream.java index fdcfc4a..e960843 100644 --- a/src/main/java/de/siphalor/was/util/PersistentInputStream.java +++ b/src/main/java/de/siphalor/was/util/PersistentInputStream.java @@ -7,8 +7,8 @@ import java.io.IOException; import java.io.InputStream; /** - * An input stream that can be reused.
- * Close with {@link PersistentInputStream#realClose()}
+ * An input stream that can be reused.
+ * Close with {@link PersistentInputStream#realClose()}
* Taken from here: https://stackoverflow.com/questions/924990/how-to-cache-inputstream-for-multiple-use#1303314 */ public class PersistentInputStream extends BufferedInputStream {